Mercurial > dovecot > original-hg > dovecot-1.2
view src/lib/restrict-access.h @ 122:9b87ee7cc19f HEAD
If we're corked, try to buffer the data instead of immediately trying to
write it. But is less syscalls faster than memcpy()ing?..
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 02 Sep 2002 23:23:32 +0300 |
parents | 3b1985cbc908 |
children | 86224ff16bf6 |
line wrap: on
line source
#ifndef __RESTRICT_ACCESS_H #define __RESTRICT_ACCESS_H /* set environment variables so they can be read with restrict_access_by_env() */ void restrict_access_set_env(const char *user, uid_t uid, gid_t gid, const char *chroot_dir); /* chroot, setuid() and setgid() based on environment variables */ void restrict_access_by_env(void); #endif