Home
last modified time | relevance | path

Searched refs:fdevent_open_cloexec (Results 1 – 11 of 11) sorted by relevance

/lighttpd1.4/src/
H A Dfdevent.c174 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 Dfdevent.h87 int fdevent_open_cloexec(const char *pathname, int symlinks, int flags, mode_t mode);
H A Dfdlog_maint.c220 return fdevent_open_cloexec(fn, 1, flags, 0644); /*(permit symlinks)*/ in fdlog_file_open_fd()
H A Drand.c178 int fd = fdevent_open_cloexec(devices[u], 1, O_RDONLY, 0); in li_rand_device_bytes()
H A Dmod_webdav.c2726 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 Dserver.c1478 …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 Dfdevent_impl.c680 ev->devpoll_fd = fdevent_open_cloexec("/dev/poll", 1, O_RDWR, 0); in fdevent_solaris_devpoll_reset()
H A Dmod_deflate.c345 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 Dstat_cache.c1463 const int fd = fdevent_open_cloexec(name->ptr, symlinks, O_RDONLY, 0); in stat_cache_open_rdonly_fstat()
H A Dchunk.c1337 if (-1 == (c->file.fd = fdevent_open_cloexec(c->mem->ptr, 1, O_RDONLY, 0))) { in chunk_open_file_chunk()
/lighttpd1.4/
H A DNEWS1907 * [core] replace open() with fdevent_open_cloexec()