Home
last modified time | relevance | path

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

/Linux-v5.15/tools/testing/selftests/core/
Dclose_range_test.c289 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC); in TEST()
296 EXPECT_EQ(flags & FD_CLOEXEC, 0); in TEST()
303 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC); in TEST()
312 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC); in TEST()
359 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC); in TEST()
366 EXPECT_EQ(flags & FD_CLOEXEC, 0); in TEST()
373 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC); in TEST()
383 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC); in TEST()
421 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC); in TEST()
425 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC); in TEST()
[all …]
/Linux-v5.15/tools/perf/trace/beauty/
Dperf_event_open.c37 P_FLAG(FD_CLOEXEC); in syscall_arg__scnprintf_perf_flags()
/Linux-v5.15/include/uapi/asm-generic/
Dfcntl.h162 #define FD_CLOEXEC 1 /* actually anything with low bit set goes */ macro
/Linux-v5.15/tools/include/uapi/asm-generic/
Dfcntl.h161 #define FD_CLOEXEC 1 /* actually anything with low bit set goes */ macro
/Linux-v5.15/tools/testing/selftests/pidfd/
Dpidfd_getfd_test.c214 EXPECT_GE(ret & FD_CLOEXEC, 0); in TEST_F()
/Linux-v5.15/tools/testing/selftests/openat2/
Dopenat2_test.c278 if (otherflags & FD_CLOEXEC) in test_openat2_flags()
/Linux-v5.15/fs/
Dfcntl.c346 err = get_close_on_exec(fd) ? FD_CLOEXEC : 0; in do_fcntl()
350 set_close_on_exec(fd, arg & FD_CLOEXEC); in do_fcntl()
/Linux-v5.15/tools/perf/
Dbuiltin-daemon.c592 if (fcntl(fd, F_SETFD, FD_CLOEXEC)) { in setup_server_socket()
1212 if (fcntl(fd, F_SETFD, FD_CLOEXEC)) { in go_background()
/Linux-v5.15/arch/um/os-Linux/
Dfile.c368 CATCH_EINTR(err = fcntl(fd, F_SETFD, FD_CLOEXEC)); in os_set_exec_close()
/Linux-v5.15/tools/perf/util/
Devlist.c1393 fcntl(go_pipe[0], F_SETFD, FD_CLOEXEC); in evlist__prepare_workload()
1467 fcntl(go_pipe[1], F_SETFD, FD_CLOEXEC); in evlist__prepare_workload()
/Linux-v5.15/Documentation/driver-api/
Ddma-buf.rst68 - In order to avoid fd leaks on exec, the FD_CLOEXEC flag must be set
/Linux-v5.15/tools/testing/selftests/net/
Dnettest.c1439 if (fcntl(sd, F_SETFD, FD_CLOEXEC) < 0) in lsock_init()
/Linux-v5.15/Documentation/process/
Dadding-syscalls.rst118 ``fcntl(fd, F_SETFD, FD_CLOEXEC)``, where an unexpected ``fork()`` and
/Linux-v5.15/Documentation/translations/it_IT/process/
Dadding-syscalls.rst131 ``xyzzy()`` e ``fcntl(fd, F_SETFD, FD_CLOEXEC)``, dove un inaspettato