From c287cc247d90c996894cab18e870c992e7f84f85 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 6 Mar 2006 00:24:51 +0000 Subject: r13851: More doc improvements. (This used to be commit 936d26ae64b93ef8f8b2fbc632b1c2fd60840405) --- source4/lib/util/unix_privs.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source4/lib/util/unix_privs.c') diff --git a/source4/lib/util/unix_privs.c b/source4/lib/util/unix_privs.c index 13b0aa203c..c94cf619a3 100644 --- a/source4/lib/util/unix_privs.c +++ b/source4/lib/util/unix_privs.c @@ -59,6 +59,12 @@ static int privileges_destructor(void *ptr) return 0; } +/** + * Obtain root privileges for the current process. + * + * The privileges can be dropped by talloc_free()-ing the + * token returned by this function + */ void *root_privileges(void) { struct saved_state *s; -- cgit