Mercurial > dovecot > original-hg > dovecot-1.2
view src/lib/restrict-access.h @ 927:935d0b1df754 HEAD
Remove one of the previous speedups, it broke things
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 09 Jan 2003 01:35:09 +0200 |
parents | 86224ff16bf6 |
children | ea3f6c93d1a2 |
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. If disallow_roots is TRUE, we'll kill ourself if we didn't have the environment settings and we have root uid or gid. */ void restrict_access_by_env(int disallow_root); #endif