Searched refs:fdevent_open_cloexec (Results 1 – 11 of 11) sorted by relevance
| /lighttpd1.4/src/ |
| H A D | fdevent.c | 174 int fdevent_open_cloexec(const char *pathname, int symlinks, int flags, mode_t mode) { in fdevent_open_cloexec() function 191 return fdevent_open_cloexec("nul", 0, O_RDWR, 0); in fdevent_open_devnull() 193 return fdevent_open_cloexec("/dev/null", 1, O_RDWR, 0); in fdevent_open_devnull() 195 return fdevent_open_cloexec("/dev/null", 0, O_RDWR, 0); in fdevent_open_devnull() 210 dfd = fdevent_open_cloexec(dname, symlinks, flags, 0); in fdevent_open_dirname() 613 fd = fdevent_open_cloexec(fn, 1, O_RDONLY, 0); /*(1: follows symlinks)*/ in fdevent_load_file() 664 fd = fdevent_open_cloexec(fn, 1, O_RDONLY, 0); /*(1: follows symlinks)*/ in fdevent_load_file_bytes()
|
| H A D | fdevent.h | 87 int fdevent_open_cloexec(const char *pathname, int symlinks, int flags, mode_t mode);
|
| H A D | fdlog_maint.c | 220 return fdevent_open_cloexec(fn, 1, flags, 0644); /*(permit symlinks)*/ in fdlog_file_open_fd()
|
| H A D | rand.c | 178 int fd = fdevent_open_cloexec(devices[u], 1, O_RDONLY, 0); in li_rand_device_bytes()
|
| H A D | mod_webdav.c | 2726 const int ifd = fdevent_open_cloexec(src->path.ptr, 0, O_RDONLY, 0); in webdav_copytmp_rename() 2755 const int ofd = fdevent_open_cloexec(tmpb->ptr, 0, in webdav_copytmp_rename() 4566 fd = fdevent_open_cloexec(r->physical.path.ptr, 0, in mod_webdav_put_0() 4590 fd = fdevent_open_cloexec(r->physical.path.ptr, 0, in mod_webdav_put_0() 4643 fd = fdevent_open_cloexec(r->physical.path.ptr, 1, in mod_webdav_put_prep() 4775 const int ifd = fdevent_open_cloexec(r->physical.path.ptr, 0, in mod_webdav_put_range() 4804 fd = fdevent_open_cloexec(pconf->tmpb->ptr, 0, in mod_webdav_put_range() 4988 const int fd = fdevent_open_cloexec(pathtemp, 0, in mod_webdav_put() 5818 ? fdevent_open_cloexec(r->physical.path.ptr, 0, in mod_webdav_lock()
|
| H A D | server.c | 1478 …if (-1 == (pid_fd = fdevent_open_cloexec(pidfile, 0, O_WRONLY | O_CREAT | O_EXCL | O_TRUNC, S_IRUS… in server_main_setup() 1497 …if (-1 == (pid_fd = fdevent_open_cloexec(pidfile, 0, O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWU… in server_main_setup()
|
| H A D | fdevent_impl.c | 680 ev->devpoll_fd = fdevent_open_cloexec("/dev/poll", 1, O_RDWR, 0); in fdevent_solaris_devpoll_reset()
|
| H A D | mod_deflate.c | 345 hctx->cache_fd = fdevent_open_cloexec(hctx->cache_fn, 1, O_RDWR|O_CREAT, 0600); in mod_deflate_cache_file_open() 1676 … if (-1 == (c->file.fd = fdevent_open_cloexec(c->mem->ptr, r->conf.follow_symlink, O_RDONLY, 0))) { in mod_deflate_file_chunk()
|
| H A D | stat_cache.c | 1463 const int fd = fdevent_open_cloexec(name->ptr, symlinks, O_RDONLY, 0); in stat_cache_open_rdonly_fstat()
|
| H A D | chunk.c | 1337 if (-1 == (c->file.fd = fdevent_open_cloexec(c->mem->ptr, 1, O_RDONLY, 0))) { in chunk_open_file_chunk()
|
| /lighttpd1.4/ |
| H A D | NEWS | 1907 * [core] replace open() with fdevent_open_cloexec()
|