Searched refs:SOCK_CLOEXEC (Results 1 – 7 of 7) sorted by relevance
9 #ifndef SOCK_CLOEXEC10 # define SOCK_CLOEXEC 02000000 macro
45 #define SOCK_CLOEXEC O_CLOEXEC macro
18 sock = socket(PF_PACKET, SOCK_RAW | SOCK_NONBLOCK | SOCK_CLOEXEC, htons(ETH_P_ALL)); in open_raw_sock()
93 sk_fd = socket(AF_NETLINK, SOCK_RAW | SOCK_CLOEXEC, in uevent_listener()
79 #define SOCK_CLOEXEC O_CLOEXEC macro
1334 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()
5382 retval = get_unused_fd_flags(flags & SOCK_CLOEXEC); in sctp_getsockopt_peeloff_common()