aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2008-11-15 18:14:31 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2008-11-15 18:14:31 +0000
commitb637f33757589c5787f732dafd1c5b44dfd66ff6 (patch)
tree02cb58a52615150deabb42a17c846dbb48591f43 /doc
parentb457676194c97d11a3326543069b24c38ebeb160 (diff)
downloadpies-b637f33757589c5787f732dafd1c5b44dfd66ff6.tar.gz
pies-b637f33757589c5787f732dafd1c5b44dfd66ff6.tar.bz2
Improve handling of program privileges.
* lib/libmf.h (struct mf_privs): New data type. (get_user_groups, mf_priv_setup, mf_epriv_setup): New prototypes. * lib/userprivs.c (get_user_groups, mf_priv_setup) (mf_epriv_setup): New functions. * smap/smap.c: If user is specified, switch to effective uid/gid, in order for msrv to create files with right privileges, on one hand, and to be able to create pidfile in root-owned directories (e.g. /var/run), on the other hand. This requires todays snapshot of Mailutils. * pies/pies.h (struct pies_privs_data): Remove (struct component): Change type of `privs' to struct mf_privs. (priv_setup): Remove. * pies/pies.c: Use mf_priv* stuff to manipulate privileges. * pies/progman.c: Likewise. * pies/meta1gram.y (list): allow for trailing comma.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions

Return to:

Send suggestions and report system problems to the System administrator.