comparison src/lib/restrict-access.h @ 3863:55df57c028d4 HEAD

Added "bool" type and changed all ints that were used as booleans to bool.
author Timo Sirainen <tss@iki.fi>
date Fri, 13 Jan 2006 22:25:57 +0200
parents 8690d2000e33
children e4eb71ae8e96
comparison
equal deleted inserted replaced
3862:ea1571f17b96 3863:55df57c028d4
9 const char *extra_groups); 9 const char *extra_groups);
10 10
11 /* chroot, setuid() and setgid() based on environment variables. 11 /* chroot, setuid() and setgid() based on environment variables.
12 If disallow_roots is TRUE, we'll kill ourself if we didn't have the 12 If disallow_roots is TRUE, we'll kill ourself if we didn't have the
13 environment settings and we have root uid or gid. */ 13 environment settings and we have root uid or gid. */
14 void restrict_access_by_env(int disallow_root); 14 void restrict_access_by_env(bool disallow_root);
15 15
16 #endif 16 #endif