summaryrefslogtreecommitdiff
path: root/lib/util/unix_privs.c
AgeCommit message (Collapse)AuthorFilesLines
2012-06-28Replace all uses of setXX[ug]id() and setgroups with samba_setXX[ug]id() calls.Jeremy Allison1-2/+3
Will allow thread-specific credentials to be added by modifying the central definitions. Deliberately left the setXX[ug]id() call in popt as this is not used in Samba.
2011-10-27Include uid_wrapper correctly.Andreas Schneider1-9/+0
2010-03-05s4-privs: add root_privileges_original_uid()Andrew Tridgell1-0/+6
This can be used to get the uid we changed away from when we gained root privileges Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-02-05s4:UID wrapper - Fix includesMatthias Dieter Wallnöfer1-1/+10
The includes of the UID wrapper headers werent't really efficient according to metze's post on the technical mailing list (http://lists.samba.org/archive/samba-technical/2010-February/069165.html). To achieve this move the "uid_wrapper.h" includes into "lib/util/unix_privs.c", "lib/util/util.c", "ntvfs/posix/pvfs_acl.c" and "ntvfs/unixuid/vfs_unixuid.c".
2008-10-20Make sure prototypes are always included, make some functions static andJelmer Vernooij1-0/+1
remove some unused functions.
2008-10-11Move lib/util from source4 to top-level libutil.Jelmer Vernooij1-0/+77
Conflicts: source4/Makefile