Home
last modified time | relevance | path

Searched refs:SOCK_CLOEXEC (Results 1 – 13 of 13) sorted by relevance

/kernel/linux/linux-5.10/tools/perf/trace/beauty/
Dsocket_type.c9 #ifndef SOCK_CLOEXEC
10 # define SOCK_CLOEXEC 02000000 macro
/kernel/linux/linux-5.10/arch/mips/include/asm/
Dsocket.h45 #define SOCK_CLOEXEC O_CLOEXEC macro
/kernel/liteos_m/kal/libc/newlib/porting/include/sys/
Dsocket.h117 #ifndef SOCK_CLOEXEC
118 #define SOCK_CLOEXEC 02000000 macro
/kernel/linux/linux-5.10/samples/bpf/
Dsock_example.h18 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/
Dbinderfs_test.c372 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/
Dpidfd_setns_test.c173 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/
Duevent_filtering.c92 sk_fd = socket(AF_NETLINK, SOCK_RAW | SOCK_CLOEXEC, in uevent_listener()
/kernel/linux/linux-5.10/include/linux/
Dnet.h77 #define SOCK_CLOEXEC O_CLOEXEC macro
/kernel/linux/linux-5.10/tools/lib/bpf/
Dnetlink.c43 sock = socket(AF_NETLINK, SOCK_RAW | SOCK_CLOEXEC, NETLINK_ROUTE); in libbpf_netlink_open()
/kernel/linux/linux-5.10/net/
Dsocket.c1496 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/
Dipsec.c161 *sock = socket(AF_NETLINK, SOCK_RAW | SOCK_CLOEXEC, proto); in netlink_sock()
/kernel/linux/linux-5.10/io_uring/
Dio_uring.c5198 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/
Dsocket.c5559 retval = get_unused_fd_flags(flags & SOCK_CLOEXEC); in sctp_getsockopt_peeloff_common()