Mercurial > dovecot > original-hg > dovecot-1.2
comparison src/lib/restrict-access.h @ 9147:c002187195bd HEAD
Added restrict_get_groups_list() for easily getting list of process's groups.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 21 Jun 2009 23:30:42 -0400 |
parents | c9381a0fdc5e |
children |
comparison
equal
deleted
inserted
replaced
9146:de64bd431b80 | 9147:c002187195bd |
---|---|
24 int restrict_access_use_priv_gid(void); | 24 int restrict_access_use_priv_gid(void); |
25 void restrict_access_drop_priv_gid(void); | 25 void restrict_access_drop_priv_gid(void); |
26 /* Returns TRUE if privileged GID exists for this process. */ | 26 /* Returns TRUE if privileged GID exists for this process. */ |
27 bool restrict_access_have_priv_gid(void); | 27 bool restrict_access_have_priv_gid(void); |
28 | 28 |
29 gid_t *restrict_get_groups_list(unsigned int *gid_count_r); | |
30 | |
29 #endif | 31 #endif |