Home
last modified time | relevance | path

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

/f-stack/freebsd/contrib/libsodium/src/libsodium/randombytes/sysrandom/
H A Drandombytes_sysrandom.c190 # if defined(F_SETFD) && defined(FD_CLOEXEC) in randombytes_sysrandom_random_dev_open()
191 (void) fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC); in randombytes_sysrandom_random_dev_open()
/f-stack/app/redis-5.0.5/deps/jemalloc/src/
H A Dpages.c447 fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC); in os_overcommits_proc()
458 fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC); in os_overcommits_proc()
467 fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC); in os_overcommits_proc()
H A Dprof.c1418 fcntl(mfd, F_SETFD, fcntl(mfd, F_GETFD) | FD_CLOEXEC); in prof_open_maps()
/f-stack/tools/libutil/
H A Dflopen.c114 if (fcntl(fd, F_SETFD, FD_CLOEXEC) != 0) { in vflopenat()
/f-stack/freebsd/contrib/openzfs/cmd/zed/
H A Dzed_file.c211 flags |= FD_CLOEXEC; in zed_file_close_on_exec()
/f-stack/freebsd/contrib/libsodium/src/libsodium/randombytes/salsa20/
H A Drandombytes_salsa20_random.c231 # if defined(F_SETFD) && defined(FD_CLOEXEC) in randombytes_salsa20_random_random_dev_open()
232 (void) fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC); in randombytes_salsa20_random_random_dev_open()
/f-stack/freebsd/sys/
H A Dfcntl.h272 #define FD_CLOEXEC 1 /* close-on-exec flag */ macro
/f-stack/app/nginx-1.16.1/src/os/unix/
H A Dngx_process.c160 if (fcntl(ngx_processes[s].channel[0], F_SETFD, FD_CLOEXEC) == -1) { in ngx_spawn_process()
168 if (fcntl(ngx_processes[s].channel[1], F_SETFD, FD_CLOEXEC) == -1) { in ngx_spawn_process()
/f-stack/freebsd/contrib/openzfs/contrib/pyzfs/libzfs_core/
H A D_libzfs_core.py1742 fcntl.fcntl(rfd, fcntl.F_SETFD, fcntl.FD_CLOEXEC)
1743 fcntl.fcntl(wfd, fcntl.F_SETFD, fcntl.FD_CLOEXEC)
/f-stack/app/micro_thread/
H A Dkqueue_proxy.cpp55 ff_fcntl(_kqfd, F_SETFD, FD_CLOEXEC); in InitKqueue()
/f-stack/dpdk/drivers/net/virtio/virtio_user/
H A Dvhost_user.c466 if (fcntl(fd, F_SETFD, flag | FD_CLOEXEC) < 0) in vhost_user_setup()
/f-stack/app/nginx-1.16.1/src/core/
H A Dngx_cycle.c391 if (fcntl(file[i].fd, F_SETFD, FD_CLOEXEC) == -1) { in ngx_init_cycle()
1250 if (fcntl(fd, F_SETFD, FD_CLOEXEC) == -1) { in ngx_reopen_files()
/f-stack/freebsd/contrib/openzfs/lib/libzpool/
H A Dkernel.c1088 (void) fcntl(fd, F_SETFD, FD_CLOEXEC); in zfs_file_open()
/f-stack/freebsd/kern/
H A Dkern_descrip.c519 (fde->fde_flags & UF_EXCLOSE) ? FD_CLOEXEC : 0; in kern_fcntl()
531 (arg & FD_CLOEXEC ? UF_EXCLOSE : 0); in kern_fcntl()
/f-stack/app/redis-5.0.5/deps/jemalloc/
H A DChangeLog47 - Fall back to FD_CLOEXEC when O_CLOEXEC is unavailable. (@zonyitoo)