Searched refs:cmsg (Results 1 – 2 of 2) sorted by relevance
512 struct cmsghdr *cmsg; in os_rcv_fd_msg() local532 cmsg = CMSG_FIRSTHDR(&msg); in os_rcv_fd_msg()533 if (!cmsg || in os_rcv_fd_msg()534 cmsg->cmsg_level != SOL_SOCKET || in os_rcv_fd_msg()535 cmsg->cmsg_type != SCM_RIGHTS) in os_rcv_fd_msg()538 memcpy(fds, CMSG_DATA(cmsg), cmsg->cmsg_len); in os_rcv_fd_msg()661 struct cmsghdr *cmsg = CMSG_FIRSTHDR(&msg); in os_sendmsg_fds() local667 cmsg->cmsg_level = SOL_SOCKET; in os_sendmsg_fds()668 cmsg->cmsg_type = SCM_RIGHTS; in os_sendmsg_fds()669 cmsg->cmsg_len = CMSG_LEN(fds_size); in os_sendmsg_fds()[all …]
174 struct cmsghdr *cmsg; in wait_stub_done_seccomp() local178 cmsg = CMSG_FIRSTHDR(&msgh); in wait_stub_done_seccomp()179 cmsg->cmsg_level = SOL_SOCKET; in wait_stub_done_seccomp()180 cmsg->cmsg_type = SCM_RIGHTS; in wait_stub_done_seccomp()181 cmsg->cmsg_len = CMSG_LEN(fds_size); in wait_stub_done_seccomp()182 memcpy(CMSG_DATA(cmsg), mm_idp->syscall_fd_map, in wait_stub_done_seccomp()
Completed in 6 milliseconds