Home
last modified time | relevance | path

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

/Linux-v4.19/tools/perf/trace/beauty/
Dsocket_type.c9 #ifndef SOCK_CLOEXEC
10 # define SOCK_CLOEXEC 02000000 macro
/Linux-v4.19/arch/mips/include/asm/
Dsocket.h45 #define SOCK_CLOEXEC O_CLOEXEC macro
/Linux-v4.19/samples/bpf/
Dsock_example.h18 sock = socket(PF_PACKET, SOCK_RAW | SOCK_NONBLOCK | SOCK_CLOEXEC, htons(ETH_P_ALL)); in open_raw_sock()
/Linux-v4.19/tools/testing/selftests/uevent/
Duevent_filtering.c93 sk_fd = socket(AF_NETLINK, SOCK_RAW | SOCK_CLOEXEC, in uevent_listener()
/Linux-v4.19/include/linux/
Dnet.h79 #define SOCK_CLOEXEC O_CLOEXEC macro
/Linux-v4.19/net/
Dsocket.c1334 BUILD_BUG_ON(SOCK_CLOEXEC != O_CLOEXEC); in __sys_socket()
1336 BUILD_BUG_ON(SOCK_CLOEXEC & SOCK_TYPE_MASK); in __sys_socket()
1340 if (flags & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) in __sys_socket()
1371 if (flags & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) in __sys_socketpair()
1549 if (flags & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) in __sys_accept4()
/Linux-v4.19/net/sctp/
Dsocket.c5382 retval = get_unused_fd_flags(flags & SOCK_CLOEXEC); in sctp_getsockopt_peeloff_common()