Mercurial > dovecot > original-hg > dovecot-1.2
annotate src/lib/restrict-access.h @ 0:3b1985cbc908 HEAD
Initial revision
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 09 Aug 2002 12:15:38 +0300 |
parents | |
children | 86224ff16bf6 |
rev | line source |
---|---|
0 | 1 #ifndef __RESTRICT_ACCESS_H |
2 #define __RESTRICT_ACCESS_H | |
3 | |
4 /* set environment variables so they can be read with | |
5 restrict_access_by_env() */ | |
6 void restrict_access_set_env(const char *user, uid_t uid, gid_t gid, | |
7 const char *chroot_dir); | |
8 | |
9 /* chroot, setuid() and setgid() based on environment variables */ | |
10 void restrict_access_by_env(void); | |
11 | |
12 #endif |