summaryrefslogtreecommitdiffstats
path: root/lib/util/unix_privs.c
Commit message (Collapse)AuthorAgeFilesLines
* lib: Add missing include for unistd.h in unix_privs.Andreas Schneider2014-04-171-0/+5
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* Replace all uses of setXX[ug]id() and setgroups with samba_setXX[ug]id() calls.Jeremy Allison2012-06-281-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.
* Include uid_wrapper correctly.Andreas Schneider2011-10-271-9/+0
|
* s4-privs: add root_privileges_original_uid()Andrew Tridgell2010-03-051-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>
* s4:UID wrapper - Fix includesMatthias Dieter Wallnöfer2010-02-051-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".
* Make sure prototypes are always included, make some functions static andJelmer Vernooij2008-10-201-0/+1
| | | | remove some unused functions.
* Move lib/util from source4 to top-level libutil.Jelmer Vernooij2008-10-111-0/+77
Conflicts: source4/Makefile