From 47843f2b64001552b4606b2a2ecd6cefbf3971ba Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 24 Aug 2005 17:01:23 +0000 Subject: 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) --- source4/lib/unix_privs.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source4/lib/unix_privs.c') 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; } - -- cgit