Home
last modified time | relevance | path

Searched refs:O_CLOEXEC (Results 1 – 25 of 52) sorted by relevance

123

/glibc-2.36/stdlib/
Darc4random.c64 __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/
Ddup3.c36 if ((flags & ~O_CLOEXEC in __dup3()
119 if (flags & O_CLOEXEC) in __dup3()
Dpipe2.c39 if (flags & ~(O_CLOEXEC | O_NONBLOCK)) in __pipe2()
Dgetrandom.c32 int open_flags = O_RDONLY | O_CLOEXEC; in __getrandom()
Dsocket.c37 if (flags & ~(O_CLOEXEC | O_NONBLOCK)) in __socket()
Daccept4.c49 if (flags & ~(O_CLOEXEC | O_NONBLOCK)) in __libc_accept4()
Dopendir.c82 int flags = O_RDONLY | O_NONBLOCK | O_DIRECTORY | O_CLOEXEC; in __opendirat()
Dsocketpair.c41 if (flags & ~(O_CLOEXEC | O_NONBLOCK)) in __socketpair()
/glibc-2.36/sysdeps/unix/sysv/linux/
Dgetsysstats.c118 const int flags = O_RDONLY | O_CLOEXEC; in get_nproc_stat()
146 const int flags = O_RDONLY | O_CLOEXEC; in read_sysfs_file()
Dmalloc-sysdep.h46 O_RDONLY | O_CLOEXEC); in check_may_shrink_heap()
Dfchmodat.c43 O_PATH | O_NOFOLLOW | O_CLOEXEC); in fchmodat()
Dsysconf.c99 int fd = __open_nocancel (procfname, O_RDONLY | O_CLOEXEC); in __sysconf()
Dopendir.c27 opendir_oflags = O_RDONLY|O_NDELAY|O_DIRECTORY|O_LARGEFILE|O_CLOEXEC
Dtst-clone2-internal.c70 if (pipe2 (pipefd, O_CLOEXEC)) in do_test()
/glibc-2.36/login/
Dutmp_file.c145 (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/
Dfcntl-internal.h24 _Static_assert (SOCK_CLOEXEC == O_CLOEXEC,
Dport2fd.c58 d->flags = (flags & O_CLOEXEC) ? FD_CLOEXEC : 0; in _hurd_port2fd()
/glibc-2.36/rt/
Dshm_open.c38 oflag |= O_NOFOLLOW | O_CLOEXEC; in __shm_open()
/glibc-2.36/locale/
Dloadlocale.c243 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/
Ddb-open.c39 int fd = __open_nocancel (file, O_RDONLY | O_LARGEFILE | O_CLOEXEC); in internal_setent()
/glibc-2.36/libio/
Dfreopen64.c79 ? O_CLOEXEC : 0) == -1) in freopen64()
Dfreopen.c96 ? O_CLOEXEC : 0) == -1) in freopen()
/glibc-2.36/bits/
Dfcntl.h45 # define O_CLOEXEC 0x00400000 /* Set close_on_exec. */ macro
/glibc-2.36/shadow/
Dlckpwdf.c99 int oflags = O_WRONLY | O_CREAT | O_CLOEXEC; in __lckpwdf()
/glibc-2.36/sysdeps/mach/hurd/bits/
Dfcntl.h123 # define O_CLOEXEC 0x00400000 /* Set FD_CLOEXEC. */ macro

123