Home
last modified time | relevance | path

Searched refs:msg_sys (Results 1 – 1 of 1) sorted by relevance

/kernel/linux/linux-5.10/net/
Dsocket.c2286 static int ____sys_sendmsg(struct socket *sock, struct msghdr *msg_sys, in ____sys_sendmsg() argument
2299 if (msg_sys->msg_controllen > INT_MAX) in ____sys_sendmsg()
2301 flags |= (msg_sys->msg_flags & allowed_msghdr_flags); in ____sys_sendmsg()
2302 ctl_len = msg_sys->msg_controllen; in ____sys_sendmsg()
2305 cmsghdr_from_user_compat_to_kern(msg_sys, sock->sk, ctl, in ____sys_sendmsg()
2309 ctl_buf = msg_sys->msg_control; in ____sys_sendmsg()
2310 ctl_len = msg_sys->msg_controllen; in ____sys_sendmsg()
2320 if (copy_from_user(ctl_buf, msg_sys->msg_control_user, ctl_len)) in ____sys_sendmsg()
2322 msg_sys->msg_control = ctl_buf; in ____sys_sendmsg()
2323 msg_sys->msg_control_is_user = false; in ____sys_sendmsg()
[all …]