Searched refs:FD_CLOEXEC (Results 1 – 15 of 15) sorted by relevance
| /linux/tools/testing/selftests/core/ |
| A D | close_range_test.c | 280 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC); in TEST() 294 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC); in TEST() 303 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC); in TEST() 350 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC); in TEST() 364 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC); in TEST() 374 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC); in TEST() 419 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC); in TEST() 423 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC); in TEST() 458 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC); in TEST() 462 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC); in TEST() [all …]
|
| /linux/tools/testing/selftests/filesystems/eventfd/ |
| A D | eventfd_test.c | 68 EXPECT_EQ(flags, FD_CLOEXEC); in TEST() 102 EXPECT_EQ(flags, FD_CLOEXEC); in TEST()
|
| /linux/include/uapi/asm-generic/ |
| A D | fcntl.h | 161 #define FD_CLOEXEC 1 /* actually anything with low bit set goes */ macro
|
| /linux/tools/perf/trace/beauty/ |
| A D | perf_event_open.c | 37 P_FLAG(FD_CLOEXEC); in syscall_arg__scnprintf_perf_flags()
|
| /linux/tools/testing/selftests/pidfd/ |
| A D | pidfd_getfd_test.c | 220 EXPECT_GE(ret & FD_CLOEXEC, 0); in TEST_F()
|
| /linux/tools/testing/selftests/openat2/ |
| A D | openat2_test.c | 289 if (otherflags & FD_CLOEXEC) in test_openat2_flags()
|
| /linux/fs/ |
| A D | fcntl.c | 463 err = get_close_on_exec(fd) ? FD_CLOEXEC : 0; in do_fcntl() 467 set_close_on_exec(fd, argi & FD_CLOEXEC); in do_fcntl()
|
| /linux/tools/perf/ |
| A D | builtin-daemon.c | 593 if (fcntl(fd, F_SETFD, FD_CLOEXEC)) { in setup_server_socket() 1211 if (fcntl(fd, F_SETFD, FD_CLOEXEC)) { in go_background()
|
| /linux/arch/um/os-Linux/ |
| A D | file.c | 379 CATCH_EINTR(err = fcntl(fd, F_SETFD, FD_CLOEXEC)); in os_set_exec_close()
|
| /linux/tools/perf/util/ |
| A D | evlist.c | 1513 fcntl(go_pipe[0], F_SETFD, FD_CLOEXEC); in evlist__prepare_workload() 1587 fcntl(go_pipe[1], F_SETFD, FD_CLOEXEC); in evlist__prepare_workload()
|
| /linux/Documentation/driver-api/ |
| A D | dma-buf.rst | 84 - In order to avoid fd leaks on exec, the FD_CLOEXEC flag must be set
|
| /linux/tools/testing/selftests/net/ |
| A D | nettest.c | 1536 if (fcntl(sd, F_SETFD, FD_CLOEXEC) < 0) in lsock_init()
|
| /linux/Documentation/process/ |
| A D | adding-syscalls.rst | 118 ``fcntl(fd, F_SETFD, FD_CLOEXEC)``, where an unexpected ``fork()`` and
|
| /linux/Documentation/translations/it_IT/process/ |
| A D | adding-syscalls.rst | 131 ``xyzzy()`` e ``fcntl(fd, F_SETFD, FD_CLOEXEC)``, dove un inaspettato
|
| /linux/Documentation/translations/sp_SP/process/ |
| A D | adding-syscalls.rst | 135 ``fcntl(fd, F_SETFD, FD_CLOEXEC)``, donde un ``fork()`` inesperado y
|
Completed in 35 milliseconds