Searched refs:SCM_RIGHTS (Results 1 – 16 of 16) sorted by relevance
42 适当权限的任务仍然可以调用 ``setuid(2)`` 并接收 SCM_RIGHTS 数据报。
166 成功情况下会返回一个对过滤器监听的文件描述符,然后可以通过 ``SCM_RIGHTS`` 或类似
173 case SCM_RIGHTS: in __scm_send()359 err = put_user(SCM_RIGHTS, &cm->cmsg_type); in scm_detach_fds()
3015 case SCM_RIGHTS: in __sock_cmsg_send()
118 (cmsg->cmsg_type != SCM_RIGHTS)) { in tuntap_open_tramp()
193 cmsg->cmsg_type = SCM_RIGHTS; in send_fd()
550 cmsg->cmsg_type != SCM_RIGHTS) in os_rcv_fd_msg()683 cmsg->cmsg_type = SCM_RIGHTS; in os_sendmsg_fds()
43 ``setuid(2)`` and receive SCM_RIGHTS datagrams.
207 passed around via ``SCM_RIGHTS`` or similar. Note that filter fds correspond to
49 cmsg->cmsg_type = SCM_RIGHTS; in send_fd()
211 .cmsg_type = SCM_RIGHTS, in __send_fd()
178 #define SCM_RIGHTS 0x01 /* rw: access rights (array of int) */ macro
169 cmsg->cmsg_type = SCM_RIGHTS; in sendfd()213 !ASSERT_EQ(cmsg->cmsg_type, SCM_RIGHTS, "cmsg_type")) in recvfd()
310 err = put_user(SCM_RIGHTS, &cm->cmsg_type); in scm_detach_fds_compat()
64 of fork() and the SCM_RIGHTS facility of unix domain socket. These