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()
75 #define SOCK_CLOEXEC O_CLOEXEC macro
1498 BUILD_BUG_ON(SOCK_CLOEXEC != O_CLOEXEC); in __sys_socket()1500 BUILD_BUG_ON(SOCK_CLOEXEC & SOCK_TYPE_MASK); in __sys_socket()1504 if (flags & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) in __sys_socket()1535 if (flags & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) in __sys_socketpair()1713 if (flags & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)) in __sys_accept4()
5692 retval = get_unused_fd_flags(flags & SOCK_CLOEXEC); in sctp_getsockopt_peeloff_common()