Home
last modified time | relevance | path

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

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