Home
last modified time | relevance | path

Searched refs:FD_CLOEXEC (Results 1 – 15 of 15) sorted by relevance

/linux-6.15/tools/testing/selftests/core/
H A Dclose_range_test.c280 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-6.15/tools/testing/selftests/filesystems/eventfd/
H A Deventfd_test.c68 EXPECT_EQ(flags, FD_CLOEXEC); in TEST()
102 EXPECT_EQ(flags, FD_CLOEXEC); in TEST()
/linux-6.15/include/uapi/asm-generic/
H A Dfcntl.h160 #define FD_CLOEXEC 1 /* actually anything with low bit set goes */ macro
/linux-6.15/tools/perf/trace/beauty/
H A Dperf_event_open.c37 P_FLAG(FD_CLOEXEC); in syscall_arg__scnprintf_perf_flags()
/linux-6.15/tools/testing/selftests/pidfd/
H A Dpidfd_getfd_test.c220 EXPECT_GE(ret & FD_CLOEXEC, 0); in TEST_F()
/linux-6.15/tools/testing/selftests/openat2/
H A Dopenat2_test.c289 if (otherflags & FD_CLOEXEC) in test_openat2_flags()
/linux-6.15/fs/
H A Dfcntl.c468 err = get_close_on_exec(fd) ? FD_CLOEXEC : 0; in do_fcntl()
472 set_close_on_exec(fd, argi & FD_CLOEXEC); in do_fcntl()
/linux-6.15/tools/perf/
H A Dbuiltin-daemon.c593 if (fcntl(fd, F_SETFD, FD_CLOEXEC)) { in setup_server_socket()
1211 if (fcntl(fd, F_SETFD, FD_CLOEXEC)) { in go_background()
/linux-6.15/arch/um/os-Linux/
H A Dfile.c373 CATCH_EINTR(err = fcntl(fd, F_SETFD, FD_CLOEXEC)); in os_set_exec_close()
/linux-6.15/tools/perf/util/
H A Devlist.c1454 fcntl(go_pipe[0], F_SETFD, FD_CLOEXEC); in evlist__prepare_workload()
1528 fcntl(go_pipe[1], F_SETFD, FD_CLOEXEC); in evlist__prepare_workload()
/linux-6.15/Documentation/driver-api/
H A Ddma-buf.rst84 - In order to avoid fd leaks on exec, the FD_CLOEXEC flag must be set
/linux-6.15/tools/testing/selftests/net/
H A Dnettest.c1536 if (fcntl(sd, F_SETFD, FD_CLOEXEC) < 0) in lsock_init()
/linux-6.15/Documentation/process/
H A Dadding-syscalls.rst118 ``fcntl(fd, F_SETFD, FD_CLOEXEC)``, where an unexpected ``fork()`` and
/linux-6.15/Documentation/translations/it_IT/process/
H A Dadding-syscalls.rst131 ``xyzzy()`` e ``fcntl(fd, F_SETFD, FD_CLOEXEC)``, dove un inaspettato
/linux-6.15/Documentation/translations/sp_SP/process/
H A Dadding-syscalls.rst135 ``fcntl(fd, F_SETFD, FD_CLOEXEC)``, donde un ``fork()`` inesperado y