Home
last modified time | relevance | path

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

/linux-6.15/Documentation/translations/zh_CN/userspace-api/
H A Dno_new_privs.rst42 适当权限的任务仍然可以调用 ``setuid(2)`` 并接收 SCM_RIGHTS 数据报。
H A Dseccomp_filter.rst166 成功情况下会返回一个对过滤器监听的文件描述符,然后可以通过 ``SCM_RIGHTS`` 或类似
/linux-6.15/net/core/
H A Dscm.c173 case SCM_RIGHTS: in __scm_send()
359 err = put_user(SCM_RIGHTS, &cm->cmsg_type); in scm_detach_fds()
H A Dsock.c3015 case SCM_RIGHTS: in __sock_cmsg_send()
/linux-6.15/arch/um/os-Linux/drivers/
H A Dtuntap_user.c118 (cmsg->cmsg_type != SCM_RIGHTS)) { in tuntap_open_tramp()
/linux-6.15/tools/testing/selftests/landlock/
H A Dcommon.h193 cmsg->cmsg_type = SCM_RIGHTS; in send_fd()
/linux-6.15/arch/um/os-Linux/
H A Dfile.c550 cmsg->cmsg_type != SCM_RIGHTS) in os_rcv_fd_msg()
683 cmsg->cmsg_type = SCM_RIGHTS; in os_sendmsg_fds()
/linux-6.15/Documentation/userspace-api/
H A Dno_new_privs.rst43 ``setuid(2)`` and receive SCM_RIGHTS datagrams.
H A Dseccomp_filter.rst207 passed around via ``SCM_RIGHTS`` or similar. Note that filter fds correspond to
/linux-6.15/samples/seccomp/
H A Duser-trap.c49 cmsg->cmsg_type = SCM_RIGHTS; in send_fd()
/linux-6.15/tools/testing/selftests/net/af_unix/
H A Dscm_rights.c211 .cmsg_type = SCM_RIGHTS, in __send_fd()
/linux-6.15/tools/perf/trace/beauty/include/linux/
H A Dsocket.h178 #define SCM_RIGHTS 0x01 /* rw: access rights (array of int) */ macro
/linux-6.15/include/linux/
H A Dsocket.h178 #define SCM_RIGHTS 0x01 /* rw: access rights (array of int) */ macro
/linux-6.15/tools/testing/selftests/bpf/prog_tests/
H A Dtoken.c169 cmsg->cmsg_type = SCM_RIGHTS; in sendfd()
213 !ASSERT_EQ(cmsg->cmsg_type, SCM_RIGHTS, "cmsg_type")) in recvfd()
/linux-6.15/net/
H A Dcompat.c310 err = put_user(SCM_RIGHTS, &cm->cmsg_type); in scm_detach_fds_compat()
/linux-6.15/Documentation/virt/kvm/
H A Dapi.rst64 of fork() and the SCM_RIGHTS facility of unix domain socket. These