Searched refs:FD_CLOEXEC (Results 1 - 11 of 11) sorted by relevance

/linux-master/tools/testing/selftests/core/
H A Dclose_range_test.c261 /* Ensure the FD_CLOEXEC bit is set also with a resource limit in place. */
276 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC);
283 EXPECT_EQ(flags & FD_CLOEXEC, 0);
290 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC);
299 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC);
329 /* Ensure the FD_CLOEXEC bit is set also with a resource limit in place. */
346 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXE
[all...]
/linux-master/tools/testing/selftests/filesystems/eventfd/
H A Deventfd_test.c66 EXPECT_EQ(flags, FD_CLOEXEC);
100 EXPECT_EQ(flags, FD_CLOEXEC);
/linux-master/include/uapi/asm-generic/
H A Dfcntl.h161 #define FD_CLOEXEC 1 /* actually anything with low bit set goes */ macro
/linux-master/tools/perf/trace/beauty/
H A Dperf_event_open.c37 P_FLAG(FD_CLOEXEC);
/linux-master/tools/testing/selftests/pidfd/
H A Dpidfd_getfd_test.c220 EXPECT_GE(ret & FD_CLOEXEC, 0);
/linux-master/tools/testing/selftests/openat2/
H A Dopenat2_test.c288 if (otherflags & FD_CLOEXEC)
/linux-master/fs/
H A Dfcntl.c365 err = get_close_on_exec(fd) ? FD_CLOEXEC : 0;
369 set_close_on_exec(fd, argi & FD_CLOEXEC);
/linux-master/arch/um/os-Linux/
H A Dfile.c368 CATCH_EINTR(err = fcntl(fd, F_SETFD, FD_CLOEXEC));
397 printk(UM_KERN_ERR "os_pipe : Setting FD_CLOEXEC failed, err = %d\n",
/linux-master/tools/perf/
H A Dbuiltin-daemon.c592 if (fcntl(fd, F_SETFD, FD_CLOEXEC)) {
593 perror("failed: fcntl FD_CLOEXEC");
1210 if (fcntl(fd, F_SETFD, FD_CLOEXEC)) {
1211 perror("failed: fcntl FD_CLOEXEC");
/linux-master/tools/perf/util/
H A Devlist.c1442 fcntl(go_pipe[0], F_SETFD, FD_CLOEXEC);
1516 fcntl(go_pipe[1], F_SETFD, FD_CLOEXEC);
/linux-master/tools/testing/selftests/net/
H A Dnettest.c1536 if (fcntl(sd, F_SETFD, FD_CLOEXEC) < 0)

Completed in 227 milliseconds