Home
last modified time | relevance | path

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

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

Completed in 35 milliseconds