diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-08-24 17:01:23 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:34:33 -0500 |
commit | 47843f2b64001552b4606b2a2ecd6cefbf3971ba (patch) | |
tree | 5ed6ade22373e758ff90f8e007a0c40fc938d4d6 /source4/lib/unix_privs.c | |
parent | cdf218e270bb6e0e3e04419279292c80ed39fb98 (diff) | |
download | samba-47843f2b64001552b4606b2a2ecd6cefbf3971ba.tar.gz samba-47843f2b64001552b4606b2a2ecd6cefbf3971ba.tar.bz2 samba-47843f2b64001552b4606b2a2ecd6cefbf3971ba.zip |
r9591: - Remove empty file
- Fix a couple of typo's
- Fix build of lib/samba3/secrets.c for systems that don't have /usr/include/tdb.h...
(This used to be commit b8c52900636515d1215ae79a70416db93ce4531c)
Diffstat (limited to 'source4/lib/unix_privs.c')
-rw-r--r-- | source4/lib/unix_privs.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/lib/unix_privs.c b/source4/lib/unix_privs.c index 5cc7d5f26e..2ea4d1b2a0 100644 --- a/source4/lib/unix_privs.c +++ b/source4/lib/unix_privs.c @@ -31,7 +31,7 @@ talloc_free() this pointer. Note that this call is considered successful even if it does not - manage to gain too privileges, but it will call smb_abort() if it + manage to gain root privileges, but it will call smb_abort() if it fails to restore the privileges afterwards. The logic is that failing to gain root access can be caught by whatever operation needs to be run as root failing, but failing to lose the root @@ -67,4 +67,3 @@ void *root_privileges(void) talloc_set_destructor(s, privileges_destructor); return s; } - |