Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/namespaces/
H A Dsiocgskns_test.c123 cmsg->cmsg_type = SCM_RIGHTS; in TEST()
159 ASSERT_EQ(cmsg->cmsg_type, SCM_RIGHTS); in TEST()
459 cmsg->cmsg_type = SCM_RIGHTS; in TEST()
639 cmsg->cmsg_type = SCM_RIGHTS; in TEST()
841 cmsg->cmsg_type = SCM_RIGHTS; in TEST()
1051 cmsg->cmsg_type = SCM_RIGHTS; in TEST()
1431 cmsg->cmsg_type = SCM_RIGHTS; in TEST()
1494 cmsg->cmsg_type = SCM_RIGHTS; in TEST()
1557 cmsg->cmsg_type = SCM_RIGHTS; in TEST()
/linux/Documentation/translations/zh_CN/userspace-api/
H A Dno_new_privs.rst42 适当权限的任务仍然可以调用 ``setuid(2)`` 并接收 SCM_RIGHTS 数据报。
H A Dseccomp_filter.rst166 成功情况下会返回一个对过滤器监听的文件描述符,然后可以通过 ``SCM_RIGHTS`` 或类似
/linux/tools/testing/selftests/tty/
H A Dtty_tiocsti_test.c264 cmsg->cmsg_type = SCM_RIGHTS; in send_fd_via_socket()
292 cmsg->cmsg_type == SCM_RIGHTS) { in recv_fd_via_socket()
/linux/arch/um/os-Linux/
H A Dfile.c535 cmsg->cmsg_type != SCM_RIGHTS) in os_rcv_fd_msg()
668 cmsg->cmsg_type = SCM_RIGHTS; in os_sendmsg_fds()
/linux/tools/testing/selftests/landlock/
H A Dcommon.h189 cmsg->cmsg_type = SCM_RIGHTS; in send_fd()
/linux/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/samples/seccomp/
H A Duser-trap.c49 cmsg->cmsg_type = SCM_RIGHTS; in send_fd()
/linux/tools/testing/selftests/net/af_unix/
H A Dscm_rights.c296 cmsg->cmsg_type = SCM_RIGHTS; in __send_fd()
/linux/tools/perf/trace/beauty/include/linux/
H A Dsocket.h193 #define SCM_RIGHTS 0x01 /* rw: access rights (array of int) */ macro
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtoken.c170 cmsg->cmsg_type = SCM_RIGHTS; in sendfd()
214 !ASSERT_EQ(cmsg->cmsg_type, SCM_RIGHTS, "cmsg_type")) in recvfd()
/linux/net/
H A Dcompat.c310 err = put_user(SCM_RIGHTS, &cm->cmsg_type); in scm_detach_fds_compat()
/linux/arch/um/os-Linux/skas/
H A Dprocess.c180 cmsg->cmsg_type = SCM_RIGHTS; in wait_stub_done_seccomp()
/linux/Documentation/virt/kvm/
H A Dapi.rst64 of fork() and the SCM_RIGHTS facility of unix domain socket. These