Searched refs:FD_CLOEXEC (Results 1 – 14 of 14) sorted by relevance
/linux-5.19.10/tools/testing/selftests/core/ |
D | close_range_test.c | 285 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC); in TEST() 292 EXPECT_EQ(flags & FD_CLOEXEC, 0); in TEST() 299 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC); in TEST() 308 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC); in TEST() 355 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC); in TEST() 362 EXPECT_EQ(flags & FD_CLOEXEC, 0); in TEST() 369 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC); in TEST() 379 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC); in TEST() 417 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC); in TEST() 421 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC); in TEST() [all …]
|
/linux-5.19.10/tools/perf/trace/beauty/ |
D | perf_event_open.c | 37 P_FLAG(FD_CLOEXEC); in syscall_arg__scnprintf_perf_flags()
|
/linux-5.19.10/tools/include/uapi/asm-generic/ |
D | fcntl.h | 162 #define FD_CLOEXEC 1 /* actually anything with low bit set goes */ macro
|
/linux-5.19.10/include/uapi/asm-generic/ |
D | fcntl.h | 162 #define FD_CLOEXEC 1 /* actually anything with low bit set goes */ macro
|
/linux-5.19.10/tools/testing/selftests/pidfd/ |
D | pidfd_getfd_test.c | 214 EXPECT_GE(ret & FD_CLOEXEC, 0); in TEST_F()
|
/linux-5.19.10/tools/testing/selftests/openat2/ |
D | openat2_test.c | 288 if (otherflags & FD_CLOEXEC) in test_openat2_flags()
|
/linux-5.19.10/fs/ |
D | fcntl.c | 329 err = get_close_on_exec(fd) ? FD_CLOEXEC : 0; in do_fcntl() 333 set_close_on_exec(fd, arg & FD_CLOEXEC); in do_fcntl()
|
/linux-5.19.10/tools/perf/ |
D | builtin-daemon.c | 592 if (fcntl(fd, F_SETFD, FD_CLOEXEC)) { in setup_server_socket() 1210 if (fcntl(fd, F_SETFD, FD_CLOEXEC)) { in go_background()
|
/linux-5.19.10/arch/um/os-Linux/ |
D | file.c | 368 CATCH_EINTR(err = fcntl(fd, F_SETFD, FD_CLOEXEC)); in os_set_exec_close()
|
/linux-5.19.10/tools/perf/util/ |
D | evlist.c | 1431 fcntl(go_pipe[0], F_SETFD, FD_CLOEXEC); in evlist__prepare_workload() 1505 fcntl(go_pipe[1], F_SETFD, FD_CLOEXEC); in evlist__prepare_workload()
|
/linux-5.19.10/Documentation/driver-api/ |
D | dma-buf.rst | 68 - In order to avoid fd leaks on exec, the FD_CLOEXEC flag must be set
|
/linux-5.19.10/tools/testing/selftests/net/ |
D | nettest.c | 1466 if (fcntl(sd, F_SETFD, FD_CLOEXEC) < 0) in lsock_init()
|
/linux-5.19.10/Documentation/process/ |
D | adding-syscalls.rst | 118 ``fcntl(fd, F_SETFD, FD_CLOEXEC)``, where an unexpected ``fork()`` and
|
/linux-5.19.10/Documentation/translations/it_IT/process/ |
D | adding-syscalls.rst | 131 ``xyzzy()`` e ``fcntl(fd, F_SETFD, FD_CLOEXEC)``, dove un inaspettato
|