diff 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
line wrap: on
line diff
--- a/src/lib/restrict-access.h	Sun Jun 21 23:09:19 2009 -0400
+++ b/src/lib/restrict-access.h	Sun Jun 21 23:30:42 2009 -0400
@@ -26,4 +26,6 @@
 /* Returns TRUE if privileged GID exists for this process. */
 bool restrict_access_have_priv_gid(void);
 
+gid_t *restrict_get_groups_list(unsigned int *gid_count_r);
+
 #endif