| /f-stack/tools/libutil/ |
| H A D | uucplock.c | 78 if ((tmpfd = open(lcktmpname, O_CREAT | O_TRUNC | O_WRONLY | O_CLOEXEC, in uu_lock() 91 if ((fd = open(lckname, O_RDONLY | O_CLOEXEC)) < 0) in uu_lock() 135 if ((fd = open(lckname, O_RDWR | O_CLOEXEC)) < 0) in uu_lock_txfr()
|
| H A D | pidfile.c | 82 fd = openat(dirfd, filename, O_RDONLY | O_CLOEXEC); in pidfile_read() 141 dirfd = open(pfh->pf_dir, O_CLOEXEC | O_DIRECTORY | O_NONBLOCK); in pidfile_open() 156 O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC | O_NONBLOCK, mode); in pidfile_open()
|
| H A D | login_auth.c | 101 if ((fd = open(file, O_RDONLY | O_CLOEXEC)) < 0) in auth_cat()
|
| H A D | quotafile.c | 152 if ((qf->fd = open(qf->qfname, qf->accmode|O_CLOEXEC)) < 0 && in quota_open() 183 if ((qf->fd = open(qf->qfname, O_RDWR|O_CREAT|O_TRUNC|O_CLOEXEC, 0)) < in quota_open() 550 if ((newqf->fd = open(qf->qfname, O_RDWR|O_CREAT|O_TRUNC|O_CLOEXEC, in quota_convert()
|
| H A D | login_cap.c | 242 else if ((r = open(login_dbarray[0], O_RDONLY | O_CLOEXEC)) >= 0) in login_getclassbyname()
|
| H A D | pw_util.c | 179 lockfd = flopen(masterpasswd, O_RDONLY|O_NONBLOCK|O_CLOEXEC, 0); in pw_lock()
|
| H A D | gr_util.c | 106 lockfd = flopen(group_file, O_RDONLY|O_NONBLOCK|O_CLOEXEC, 0); in gr_lock()
|
| /f-stack/app/redis-5.0.5/deps/jemalloc/src/ |
| H A D | pages.c | 441 #if defined(O_CLOEXEC) in os_overcommits_proc() 443 O_CLOEXEC); in os_overcommits_proc() 451 #if defined(O_CLOEXEC) in os_overcommits_proc() 453 AT_FDCWD, "/proc/sys/vm/overcommit_memory", O_RDONLY | O_CLOEXEC); in os_overcommits_proc() 462 #if defined(O_CLOEXEC) in os_overcommits_proc() 463 fd = open("/proc/sys/vm/overcommit_memory", O_RDONLY | O_CLOEXEC); in os_overcommits_proc()
|
| H A D | prof.c | 1413 #if defined(O_CLOEXEC) in prof_open_maps() 1414 mfd = open(filename, O_RDONLY | O_CLOEXEC); in prof_open_maps()
|
| /f-stack/freebsd/contrib/zlib/ |
| H A D | gzlib.c | 102 #ifdef O_CLOEXEC 147 #ifdef O_CLOEXEC 230 #ifdef O_CLOEXEC 231 (cloexec ? O_CLOEXEC : 0) |
|
| /f-stack/freebsd/contrib/zstd/zlibWrapper/ |
| H A D | gzlib.c | 102 #ifdef O_CLOEXEC 147 #ifdef O_CLOEXEC 230 #ifdef O_CLOEXEC 231 (cloexec ? O_CLOEXEC : 0) |
|
| /f-stack/freebsd/sys/ |
| H A D | fcntl.h | 133 #define O_CLOEXEC 0x00100000 macro
|
| /f-stack/tools/libxo/libxo/ |
| H A D | xo_syslog.c | 258 #ifdef O_CLOEXEC in xo_send_syslog() 259 flags |= O_CLOEXEC; in xo_send_syslog()
|
| /f-stack/freebsd/contrib/openzfs/cmd/mount_zfs/ |
| H A D | mount_zfs.c | 56 int fd = open(target, O_RDONLY | O_CLOEXEC); in parse_dataset()
|
| /f-stack/freebsd/kern/ |
| H A D | sys_eventfd.c | 57 _Static_assert(EFD_CLOEXEC == O_CLOEXEC, "Mismatched EFD_CLOEXEC");
|
| H A D | sys_procdesc.c | 244 fflags = O_CLOEXEC; in procdesc_falloc()
|
| H A D | uipc_syscalls.c | 145 oflag |= O_CLOEXEC; in kern_socket() 354 (flags & SOCK_CLOEXEC) ? O_CLOEXEC : 0, &fcaps); in kern_accept4() 580 oflag |= O_CLOEXEC; in kern_socketpair()
|
| H A D | uipc_shm.c | 1066 if ((flags & ~(O_ACCMODE | O_CREAT | O_EXCL | O_TRUNC | O_CLOEXEC)) != 0) in kern_shm_open2() 1094 error = falloc_caps(td, &fp, &fd, flags & O_CLOEXEC, fcaps); in kern_shm_open2() 1241 return (kern_shm_open(td, uap->path, uap->flags | O_CLOEXEC, in freebsd12_shm_open()
|
| H A D | tty_pts.c | 848 if (uap->flags & ~(O_RDWR|O_NOCTTY|O_CLOEXEC)) in sys_posix_openpt()
|
| H A D | uipc_sem.c | 486 error = falloc(td, &fp, &fd, O_CLOEXEC); in ksem_create()
|
| H A D | sys_pipe.c | 518 if (uap->flags & ~(O_CLOEXEC | O_NONBLOCK)) in sys_pipe2()
|
| H A D | sys_generic.c | 880 fflags |= O_CLOEXEC; in kern_specialfd()
|
| H A D | uipc_mqueue.c | 2056 error = falloc(td, &fp, &fd, O_CLOEXEC); in kern_kmq_open()
|
| /f-stack/freebsd/contrib/openzfs/contrib/pam_zfs_key/ |
| H A D | pam_zfs_key.c | 551 O_RDWR | O_CLOEXEC | O_CREAT | O_NOFOLLOW, in zfs_key_config_modify_session_counter()
|
| /f-stack/freebsd/contrib/openzfs/lib/libzfs/ |
| H A D | libzfs_mount.c | 159 O_RDONLY | O_NDELAY | O_LARGEFILE | O_CLOEXEC, 0)) < 0) { in dir_is_empty_readdir()
|