Home
last modified time | relevance | path

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

/linux-4.1.27/include/uapi/asm-generic/
Dfcntl.h161 #define FD_CLOEXEC 1 /* actually anything with low bit set goes */ macro
/linux-4.1.27/fs/
Dfcntl.c256 err = get_close_on_exec(fd) ? FD_CLOEXEC : 0; in do_fcntl()
260 set_close_on_exec(fd, arg & FD_CLOEXEC); in do_fcntl()
/linux-4.1.27/arch/um/os-Linux/
Dfile.c342 CATCH_EINTR(err = fcntl(fd, F_SETFD, FD_CLOEXEC)); in os_set_exec_close()
/linux-4.1.27/tools/perf/util/
Devlist.c1349 fcntl(go_pipe[0], F_SETFD, FD_CLOEXEC); in perf_evlist__prepare_workload()
1416 fcntl(go_pipe[1], F_SETFD, FD_CLOEXEC); in perf_evlist__prepare_workload()
/linux-4.1.27/Documentation/
Ddma-buf-sharing.txt431 - In order to avoid fd leaks on exec, the FD_CLOEXEC flag must be set