Home
last modified time | relevance | path

Searched refs:IN_CLOEXEC (Results 1 – 12 of 12) sorted by relevance

/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dandroid-cloexec-inotify-init1.cpp5 #define IN_CLOEXEC __O_CLOEXEC macro
49 inotify_init1(IN_CLOEXEC); in e()
50 TEMP_FAILURE_RETRY(inotify_init1(IN_CLOEXEC)); in e()
51 inotify_init1(IN_NONBLOCK | IN_CLOEXEC); in e()
52 TEMP_FAILURE_RETRY(inotify_init1(IN_NONBLOCK | IN_CLOEXEC)); in e()
59 inotify_init1(IN_CLOEXEC); in d()
60 TEMP_FAILURE_RETRY(inotify_init1(IN_CLOEXEC)); in d()
61 inotify_init1(IN_NONBLOCK | IN_CLOEXEC); in d()
62 TEMP_FAILURE_RETRY(inotify_init1(IN_NONBLOCK | IN_CLOEXEC)); in d()
/external/strace/xlat/
Dinotify_init_flags.h13 #if defined IN_CLOEXEC || defined O_CLOEXEC
14 #if defined(IN_CLOEXEC) || (defined(HAVE_DECL_IN_CLOEXEC) && HAVE_DECL_IN_CLOEXEC)
16 static_assert((IN_CLOEXEC) == (O_CLOEXEC), "IN_CLOEXEC != O_CLOEXEC");
19 # define IN_CLOEXEC O_CLOEXEC
34 #if defined IN_CLOEXEC || defined O_CLOEXEC
35 XLAT(IN_CLOEXEC),
Dinotify_init_flags.in2 #if defined IN_CLOEXEC || defined O_CLOEXEC
3 IN_CLOEXEC O_CLOEXEC
/external/llvm-project/clang-tools-extra/docs/clang-tidy/checks/
Dandroid-cloexec-inotify-init1.rst6 ``inotify_init1()`` should include ``IN_CLOEXEC`` in its type argument to avoid the
18 inotify_init1(IN_NONBLOCK | IN_CLOEXEC);
Dandroid-cloexec-inotify-init.rst17 inotify_init1(IN_CLOEXEC);
/external/ltp/testcases/kernel/syscalls/inotify_init/
Dinotify_init1_01.c66 #define IN_CLOEXEC O_CLOEXEC macro
155 fd = ltp_syscall(__NR_inotify_init1, IN_CLOEXEC); in main()
/external/kernel-headers/original/uapi/linux/
Dinotify.h72 #define IN_CLOEXEC O_CLOEXEC macro
/external/rust/crates/nix/src/sys/
Dinotify.rs75 IN_CLOEXEC;
/external/adhd/cras/src/common/
Dcras_file_wait.c183 file_wait->inotify_fd = inotify_init1(IN_NONBLOCK | IN_CLOEXEC); in cras_file_wait_dispatch()
/external/llvm-project/clang/lib/DirectoryWatcher/linux/
DDirectoryWatcher-linux.cpp330 const int InotifyFD = inotify_init1(IN_CLOEXEC); in create()
/external/rust/crates/libc/src/unix/linux_like/android/
Dmod.rs2200 pub const IN_CLOEXEC: ::c_int = O_CLOEXEC; constant
/external/rust/crates/libc/src/unix/linux_like/linux/
Dmod.rs2591 pub const IN_CLOEXEC: ::c_int = O_CLOEXEC; constant