Searched refs:FD_CLOEXEC (Results 1 - 12 of 12) sorted by last modified time
/linux-master/tools/testing/selftests/filesystems/eventfd/ |
H A D | eventfd_test.c | 66 EXPECT_EQ(flags, FD_CLOEXEC); 100 EXPECT_EQ(flags, FD_CLOEXEC);
|
/linux-master/tools/testing/selftests/pidfd/ |
H A D | pidfd_getfd_test.c | 220 EXPECT_GE(ret & FD_CLOEXEC, 0);
|
/linux-master/fs/ |
H A D | fcntl.c | 346 err = get_close_on_exec(fd) ? FD_CLOEXEC : 0; 350 set_close_on_exec(fd, argi & FD_CLOEXEC);
|
/linux-master/tools/testing/selftests/core/ |
H A D | close_range_test.c | 243 /* 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/perf/util/ |
H A D | evlist.c | 1441 fcntl(go_pipe[0], F_SETFD, FD_CLOEXEC); 1515 fcntl(go_pipe[1], F_SETFD, FD_CLOEXEC);
|
/linux-master/tools/testing/selftests/openat2/ |
H A D | openat2_test.c | 288 if (otherflags & FD_CLOEXEC)
|
/linux-master/tools/testing/selftests/net/ |
H A D | nettest.c | 1536 if (fcntl(sd, F_SETFD, FD_CLOEXEC) < 0)
|
/linux-master/tools/perf/ |
H A D | builtin-daemon.c | 592 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/include/uapi/asm-generic/ |
H A D | fcntl.h | 161 #define FD_CLOEXEC 1 /* actually anything with low bit set goes */ macro
|
/linux-master/include/uapi/asm-generic/ |
H A D | fcntl.h | 161 #define FD_CLOEXEC 1 /* actually anything with low bit set goes */ macro
|
/linux-master/tools/perf/trace/beauty/ |
H A D | perf_event_open.c | 37 P_FLAG(FD_CLOEXEC);
|
/linux-master/arch/um/os-Linux/ |
H A D | file.c | 368 CATCH_EINTR(err = fcntl(fd, F_SETFD, FD_CLOEXEC)); 397 printk(UM_KERN_ERR "os_pipe : Setting FD_CLOEXEC failed, err = %d\n",
|
Completed in 390 milliseconds