Searched refs:SOCK_CLOEXEC (Results 1 – 13 of 13) sorted by relevance
/kernel/linux/linux-5.10/tools/perf/trace/beauty/ |
D | socket_type.c | 9 #ifndef SOCK_CLOEXEC 10 # define SOCK_CLOEXEC 02000000 macro
|
/kernel/linux/linux-5.10/arch/mips/include/asm/ |
D | socket.h | 45 #define SOCK_CLOEXEC O_CLOEXEC macro
|
/kernel/liteos_m/kal/libc/newlib/porting/include/sys/ |
D | socket.h | 117 #ifndef SOCK_CLOEXEC 118 #define SOCK_CLOEXEC 02000000 macro
|
/kernel/linux/linux-5.10/samples/bpf/ |
D | sock_example.h | 18 sock = socket(PF_PACKET, SOCK_RAW | SOCK_NONBLOCK | SOCK_CLOEXEC, htons(ETH_P_ALL)); in open_raw_sock()
|
/kernel/linux/linux-5.10/tools/testing/selftests/filesystems/binderfs/ |
D | binderfs_test.c | 372 ret = socketpair(PF_LOCAL, SOCK_STREAM | SOCK_CLOEXEC, 0, syncfds); in TEST() 490 ret = socketpair(PF_LOCAL, SOCK_STREAM | SOCK_CLOEXEC, 0, syncfds); in TEST()
|
/kernel/linux/linux-5.10/tools/testing/selftests/pidfd/ |
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()
|
/kernel/linux/linux-5.10/tools/testing/selftests/uevent/ |
D | uevent_filtering.c | 92 sk_fd = socket(AF_NETLINK, SOCK_RAW | SOCK_CLOEXEC, in uevent_listener()
|
/kernel/linux/linux-5.10/include/linux/ |
D | net.h | 77 #define SOCK_CLOEXEC O_CLOEXEC macro
|
/kernel/linux/linux-5.10/tools/lib/bpf/ |
D | netlink.c | 43 sock = socket(AF_NETLINK, SOCK_RAW | SOCK_CLOEXEC, NETLINK_ROUTE); in libbpf_netlink_open()
|
/kernel/linux/linux-5.10/net/ |
D | socket.c | 1496 BUILD_BUG_ON(SOCK_CLOEXEC != O_CLOEXEC); in __sys_socket() 1498 BUILD_BUG_ON(SOCK_CLOEXEC & SOCK_TYPE_MASK); in __sys_socket() 1502 if (flags & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) in __sys_socket() 1533 if (flags & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) in __sys_socketpair() 1758 if (flags & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) in __sys_accept4_file()
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
D | ipsec.c | 161 *sock = socket(AF_NETLINK, SOCK_RAW | SOCK_CLOEXEC, proto); in netlink_sock()
|
/kernel/linux/linux-5.10/io_uring/ |
D | io_uring.c | 5198 if (accept->file_slot && (accept->flags & SOCK_CLOEXEC)) in io_accept_prep() 5200 if (accept->flags & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) in io_accept_prep()
|
/kernel/linux/linux-5.10/net/sctp/ |
D | socket.c | 5559 retval = get_unused_fd_flags(flags & SOCK_CLOEXEC); in sctp_getsockopt_peeloff_common()
|