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

/linux-master/tools/testing/selftests/core/
H A Dclose_range_test.c243 /* Ensure the FD_CLOEXEC bit is set also with a resource limit in place. */
258 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC);
265 EXPECT_EQ(flags & FD_CLOEXEC, 0);
272 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC);
281 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC);
311 /* Ensure the FD_CLOEXEC bit is set also with a resource limit in place. */
328 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/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.c346 err = get_close_on_exec(fd) ? FD_CLOEXEC : 0;
350 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.c1441 fcntl(go_pipe[0], F_SETFD, FD_CLOEXEC);
1515 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 207 milliseconds