Home
last modified time | relevance | path

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

/Linux-v6.1/tools/testing/selftests/core/
Dclose_range_test.c285 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-v6.1/tools/perf/trace/beauty/
Dperf_event_open.c37 P_FLAG(FD_CLOEXEC); in syscall_arg__scnprintf_perf_flags()
/Linux-v6.1/include/uapi/asm-generic/
Dfcntl.h162 #define FD_CLOEXEC 1 /* actually anything with low bit set goes */ macro
/Linux-v6.1/tools/include/uapi/asm-generic/
Dfcntl.h162 #define FD_CLOEXEC 1 /* actually anything with low bit set goes */ macro
/Linux-v6.1/tools/testing/selftests/pidfd/
Dpidfd_getfd_test.c214 EXPECT_GE(ret & FD_CLOEXEC, 0); in TEST_F()
/Linux-v6.1/tools/testing/selftests/openat2/
Dopenat2_test.c288 if (otherflags & FD_CLOEXEC) in test_openat2_flags()
/Linux-v6.1/fs/
Dfcntl.c330 err = get_close_on_exec(fd) ? FD_CLOEXEC : 0; in do_fcntl()
334 set_close_on_exec(fd, arg & FD_CLOEXEC); in do_fcntl()
/Linux-v6.1/tools/perf/
Dbuiltin-daemon.c592 if (fcntl(fd, F_SETFD, FD_CLOEXEC)) { in setup_server_socket()
1210 if (fcntl(fd, F_SETFD, FD_CLOEXEC)) { in go_background()
/Linux-v6.1/arch/um/os-Linux/
Dfile.c368 CATCH_EINTR(err = fcntl(fd, F_SETFD, FD_CLOEXEC)); in os_set_exec_close()
/Linux-v6.1/tools/perf/util/
Devlist.c1420 fcntl(go_pipe[0], F_SETFD, FD_CLOEXEC); in evlist__prepare_workload()
1494 fcntl(go_pipe[1], F_SETFD, FD_CLOEXEC); in evlist__prepare_workload()
/Linux-v6.1/Documentation/driver-api/
Ddma-buf.rst68 - In order to avoid fd leaks on exec, the FD_CLOEXEC flag must be set
/Linux-v6.1/tools/testing/selftests/net/
Dnettest.c1474 if (fcntl(sd, F_SETFD, FD_CLOEXEC) < 0) in lsock_init()
/Linux-v6.1/Documentation/process/
Dadding-syscalls.rst118 ``fcntl(fd, F_SETFD, FD_CLOEXEC)``, where an unexpected ``fork()`` and
/Linux-v6.1/Documentation/translations/it_IT/process/
Dadding-syscalls.rst131 ``xyzzy()`` e ``fcntl(fd, F_SETFD, FD_CLOEXEC)``, dove un inaspettato