diff options
author | Jeremy Allison <jra@samba.org> | 2007-06-08 19:58:32 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:23:12 -0500 |
commit | 0a1f5d71e4ad551f178613fff8bd288ad0cad057 (patch) | |
tree | 10dabb1e2aaa2bc3f0c8041faa69afc9661716f2 /source3/modules | |
parent | 334c961cc55aafb6b5587ba8ab517b94f1cbe278 (diff) | |
download | samba-0a1f5d71e4ad551f178613fff8bd288ad0cad057.tar.gz samba-0a1f5d71e4ad551f178613fff8bd288ad0cad057.tar.bz2 samba-0a1f5d71e4ad551f178613fff8bd288ad0cad057.zip |
r23391: Second part of the patch for Apple.
Change the sequence :
gain_root();
sys_setgroups(ngroups, groups);
become_id(uid, gid);
to a function call :
set_unix_security_ctx(uid_t uid, gid_t gid, int ngroups, gid_t *groups)
James - should be safe for you to create a Darwin-specific
version of this function now.
Jeremy.
(This used to be commit 8ee982b3678be41ce8b4f4c1df428dcbf897ccbe)
Diffstat (limited to 'source3/modules')
0 files changed, 0 insertions, 0 deletions