Mercurial > dovecot > original-hg > dovecot-1.2
view src/lib/restrict-access.h @ 908:bc55266563cd HEAD
Use separate check for uint_fast32_t.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 06 Jan 2003 13:15:26 +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