Searched refs:O_CLOEXEC (Results 1 – 25 of 52) sorted by relevance
123
/glibc-2.36/stdlib/ |
D | arc4random.c | 64 __open64_nocancel ("/dev/random", O_RDONLY | O_CLOEXEC | O_NOCTTY)); in __arc4random_buf() 75 __open64_nocancel ("/dev/urandom", O_RDONLY | O_CLOEXEC | O_NOCTTY)); in __arc4random_buf()
|
/glibc-2.36/sysdeps/mach/hurd/ |
D | dup3.c | 36 if ((flags & ~O_CLOEXEC in __dup3() 119 if (flags & O_CLOEXEC) in __dup3()
|
D | pipe2.c | 39 if (flags & ~(O_CLOEXEC | O_NONBLOCK)) in __pipe2()
|
D | getrandom.c | 32 int open_flags = O_RDONLY | O_CLOEXEC; in __getrandom()
|
D | socket.c | 37 if (flags & ~(O_CLOEXEC | O_NONBLOCK)) in __socket()
|
D | accept4.c | 49 if (flags & ~(O_CLOEXEC | O_NONBLOCK)) in __libc_accept4()
|
D | opendir.c | 82 int flags = O_RDONLY | O_NONBLOCK | O_DIRECTORY | O_CLOEXEC; in __opendirat()
|
D | socketpair.c | 41 if (flags & ~(O_CLOEXEC | O_NONBLOCK)) in __socketpair()
|
/glibc-2.36/sysdeps/unix/sysv/linux/ |
D | getsysstats.c | 118 const int flags = O_RDONLY | O_CLOEXEC; in get_nproc_stat() 146 const int flags = O_RDONLY | O_CLOEXEC; in read_sysfs_file()
|
D | malloc-sysdep.h | 46 O_RDONLY | O_CLOEXEC); in check_may_shrink_heap()
|
D | fchmodat.c | 43 O_PATH | O_NOFOLLOW | O_CLOEXEC); in fchmodat()
|
D | sysconf.c | 99 int fd = __open_nocancel (procfname, O_RDONLY | O_CLOEXEC); in __sysconf()
|
D | opendir.c | 27 opendir_oflags = O_RDONLY|O_NDELAY|O_DIRECTORY|O_LARGEFILE|O_CLOEXEC
|
D | tst-clone2-internal.c | 70 if (pipe2 (pipefd, O_CLOEXEC)) in do_test()
|
/glibc-2.36/login/ |
D | utmp_file.c | 145 (file_name, O_RDONLY | O_LARGEFILE | O_CLOEXEC); in __libc_setutent() 357 (file_name, O_RDWR | O_LARGEFILE | O_CLOEXEC); in __libc_pututline()
|
/glibc-2.36/hurd/ |
D | fcntl-internal.h | 24 _Static_assert (SOCK_CLOEXEC == O_CLOEXEC,
|
D | port2fd.c | 58 d->flags = (flags & O_CLOEXEC) ? FD_CLOEXEC : 0; in _hurd_port2fd()
|
/glibc-2.36/rt/ |
D | shm_open.c | 38 oflag |= O_NOFOLLOW | O_CLOEXEC; in __shm_open()
|
/glibc-2.36/locale/ |
D | loadlocale.c | 243 fd = __open_nocancel (file->filename, O_RDONLY | O_CLOEXEC); in _nl_load_locale() 270 fd = __open_nocancel (newp, O_RDONLY | O_CLOEXEC); in _nl_load_locale()
|
/glibc-2.36/nss/nss_db/ |
D | db-open.c | 39 int fd = __open_nocancel (file, O_RDONLY | O_LARGEFILE | O_CLOEXEC); in internal_setent()
|
/glibc-2.36/libio/ |
D | freopen64.c | 79 ? O_CLOEXEC : 0) == -1) in freopen64()
|
D | freopen.c | 96 ? O_CLOEXEC : 0) == -1) in freopen()
|
/glibc-2.36/bits/ |
D | fcntl.h | 45 # define O_CLOEXEC 0x00400000 /* Set close_on_exec. */ macro
|
/glibc-2.36/shadow/ |
D | lckpwdf.c | 99 int oflags = O_WRONLY | O_CREAT | O_CLOEXEC; in __lckpwdf()
|
/glibc-2.36/sysdeps/mach/hurd/bits/ |
D | fcntl.h | 123 # define O_CLOEXEC 0x00400000 /* Set FD_CLOEXEC. */ macro
|
123