aboutsummaryrefslogtreecommitdiff
path: root/src/wydawca.h
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2009-02-25 22:51:33 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2009-02-25 22:51:33 +0200
commit2e027ea167726a3af7d9db366acef266752c6b1b (patch)
treed71b14fc10bc55d887e855c8c4e1283fadbd8025 /src/wydawca.h
parent27d1256d331d45bf68d96e9a8aa8175df2584978 (diff)
downloadwydawca-2e027ea167726a3af7d9db366acef266752c6b1b.tar.gz
wydawca-2e027ea167726a3af7d9db366acef266752c6b1b.tar.bz2
Fix privilege selection
Diffstat (limited to 'src/wydawca.h')
-rw-r--r--src/wydawca.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/wydawca.h b/src/wydawca.h
index 863200f..f786271 100644
--- a/src/wydawca.h
+++ b/src/wydawca.h
@@ -428,7 +428,9 @@ int process_directives (struct file_triplet *trp,
int enabled_spool_p (const struct spool *spool);
-int wydawca_set_uid (uid_t uid);
+int wydawca_set_privs (uid_t uid, gid_t gid);
+int wydawca_set_triplet_privs (struct file_triplet *trp);
+int wydawca_set_root_privs (void);
int parse_time_interval (const char *str, time_t *pint, const char **endp);

Return to:

Send suggestions and report system problems to the System administrator.