Replace all uses of setXX[ug]id() and setgroups with samba_setXX[ug]id() calls.
authorJeremy Allison <jra@samba.org>
Thu, 28 Jun 2012 18:59:51 +0000 (11:59 -0700)
committerJeremy Allison <jra@samba.org>
Fri, 29 Jun 2012 00:15:16 +0000 (17:15 -0700)
commit821bd95156e8cc6d843aecb0a27d4a08761b7dac
treea35f1f0059005555bc3fe548760a9cf01e896d55
parent7630fe50bd7d0783d1f6b253cbee46cccca3f774
Replace all uses of setXX[ug]id() and setgroups with samba_setXX[ug]id() calls.

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.
18 files changed:
lib/uid_wrapper/uid_wrapper.c
lib/uid_wrapper/uid_wrapper.h
lib/uid_wrapper/wscript_build
lib/util/setid.c [new file with mode: 0644]
lib/util/setid.h [new file with mode: 0644]
lib/util/unix_privs.c
lib/util/wscript_build
source3/Makefile.in
source3/include/includes.h
source3/lib/system.c
source3/lib/system_smbd.c
source3/lib/util_sec.c
source3/smbd/sec_ctx.c
source3/web/cgi.c
source4/include/includes.h
source4/ntvfs/unixuid/vfs_unixuid.c
testsuite/smbd/sec_ctx1.c
testsuite/smbd/sec_ctx_nonroot.c