Searched refs:SOCK_CLOEXEC (Results 1 – 15 of 15) sorted by relevance
/linux/tools/perf/trace/beauty/ |
A D | socket_type.c | 9 #ifndef SOCK_CLOEXEC 10 # define SOCK_CLOEXEC 02000000 macro
|
/linux/arch/mips/include/asm/ |
A D | socket.h | 45 #define SOCK_CLOEXEC O_CLOEXEC macro
|
/linux/samples/bpf/ |
A D | sock_example.h | 18 sock = socket(PF_PACKET, SOCK_RAW | SOCK_NONBLOCK | SOCK_CLOEXEC, htons(ETH_P_ALL)); in open_raw_sock()
|
/linux/tools/testing/selftests/filesystems/binderfs/ |
A D | binderfs_test.c | 389 ret = socketpair(PF_LOCAL, SOCK_STREAM | SOCK_CLOEXEC, 0, syncfds); in TEST() 507 ret = socketpair(PF_LOCAL, SOCK_STREAM | SOCK_CLOEXEC, 0, syncfds); in TEST()
|
/linux/tools/testing/selftests/pidfd/ |
A D | pidfd_setns_test.c | 173 ret = socketpair(AF_LOCAL, SOCK_STREAM | SOCK_CLOEXEC, 0, ipc_sockets); in FIXTURE_SETUP() 203 ret = socketpair(AF_LOCAL, SOCK_STREAM | SOCK_CLOEXEC, 0, ipc_sockets); in FIXTURE_SETUP()
|
/linux/tools/testing/selftests/landlock/ |
A D | base_test.c | 218 ASSERT_EQ(0, socketpair(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0, socket_fds)); in TEST()
|
/linux/tools/testing/selftests/uevent/ |
A D | uevent_filtering.c | 92 sk_fd = socket(AF_NETLINK, SOCK_RAW | SOCK_CLOEXEC, in uevent_listener()
|
/linux/tools/lib/bpf/ |
A D | xsk.c | 303 umem->fd = socket(AF_XDP, SOCK_RAW | SOCK_CLOEXEC, 0); in xsk_umem__create_v0_0_4() 552 fd = socket(AF_LOCAL, SOCK_DGRAM | SOCK_CLOEXEC, 0); in xsk_get_max_queues() 1049 xsk->fd = socket(AF_XDP, SOCK_RAW | SOCK_CLOEXEC, 0); in xsk_socket__create_shared()
|
A D | netlink.c | 46 sock = socket(AF_NETLINK, SOCK_RAW | SOCK_CLOEXEC, NETLINK_ROUTE); in libbpf_netlink_open()
|
/linux/include/linux/ |
A D | net.h | 77 #define SOCK_CLOEXEC O_CLOEXEC macro
|
/linux/net/ |
A D | socket.c | 1544 BUILD_BUG_ON(SOCK_CLOEXEC != O_CLOEXEC); in __sys_socket() 1546 BUILD_BUG_ON(SOCK_CLOEXEC & SOCK_TYPE_MASK); in __sys_socket() 1550 if (flags & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) in __sys_socket() 1581 if (flags & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) in __sys_socketpair() 1806 if (flags & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) in __sys_accept4_file()
|
/linux/tools/testing/selftests/bpf/ |
A D | test_progs.c | 1401 if (socketpair(AF_UNIX, SOCK_SEQPACKET | SOCK_CLOEXEC, 0, sv) < 0) { in main()
|
/linux/tools/testing/selftests/net/ |
A D | ipsec.c | 161 *sock = socket(AF_NETLINK, SOCK_RAW | SOCK_CLOEXEC, proto); in netlink_sock()
|
/linux/fs/ |
A D | io_uring.c | 5159 (accept->flags & SOCK_CLOEXEC))) in io_accept_prep() 5161 if (accept->flags & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) in io_accept_prep()
|
/linux/net/sctp/ |
A D | socket.c | 5674 retval = get_unused_fd_flags(flags & SOCK_CLOEXEC); in sctp_getsockopt_peeloff_common()
|
Completed in 65 milliseconds