s4-privs: add root_privileges_original_uid()
commitee4ae0e7add840e1702b5630e6d23be19833a612
authorAndrew Tridgell <tridge@samba.org>
Fri, 5 Mar 2010 06:49:11 +0000 (5 17:49 +1100)
committerAndrew Tridgell <tridge@samba.org>
Fri, 5 Mar 2010 12:07:31 +0000 (5 23:07 +1100)
tree2b7d92729a72855c31aec8385e287c909a585739
parent6c52a37ac191679245a1175f40ef961af3b3e0b1
s4-privs: add root_privileges_original_uid()

This can be used to get the uid we changed away from when we gained
root privileges

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
lib/util/unix_privs.c