Home
last modified time | relevance | path

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

/linux-5.19.10/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-5.19.10/tools/perf/trace/beauty/
Dperf_event_open.c37 P_FLAG(FD_CLOEXEC); in syscall_arg__scnprintf_perf_flags()
/linux-5.19.10/tools/include/uapi/asm-generic/
Dfcntl.h162 #define FD_CLOEXEC 1 /* actually anything with low bit set goes */ macro
/linux-5.19.10/include/uapi/asm-generic/
Dfcntl.h162 #define FD_CLOEXEC 1 /* actually anything with low bit set goes */ macro
/linux-5.19.10/tools/testing/selftests/pidfd/
Dpidfd_getfd_test.c214 EXPECT_GE(ret & FD_CLOEXEC, 0); in TEST_F()
/linux-5.19.10/tools/testing/selftests/openat2/
Dopenat2_test.c288 if (otherflags & FD_CLOEXEC) in test_openat2_flags()
/linux-5.19.10/fs/
Dfcntl.c329 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/
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-5.19.10/arch/um/os-Linux/
Dfile.c368 CATCH_EINTR(err = fcntl(fd, F_SETFD, FD_CLOEXEC)); in os_set_exec_close()
/linux-5.19.10/tools/perf/util/
Devlist.c1431 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/
Ddma-buf.rst68 - In order to avoid fd leaks on exec, the FD_CLOEXEC flag must be set
/linux-5.19.10/tools/testing/selftests/net/
Dnettest.c1466 if (fcntl(sd, F_SETFD, FD_CLOEXEC) < 0) in lsock_init()
/linux-5.19.10/Documentation/process/
Dadding-syscalls.rst118 ``fcntl(fd, F_SETFD, FD_CLOEXEC)``, where an unexpected ``fork()`` and
/linux-5.19.10/Documentation/translations/it_IT/process/
Dadding-syscalls.rst131 ``xyzzy()`` e ``fcntl(fd, F_SETFD, FD_CLOEXEC)``, dove un inaspettato