mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
a093a76dc1
fix the messaging code to call the efficient calls :
save_re_uid()
set_effective_uid(0);
messaging_op
restore_re_uid();
instead of using heavyweight become_root()/unbecome_root()
pairs around all messaging code. Fixup the messaging
code to ensure sec_init() is called (only once) so that non-root
processes still work when sending messages.
This is a lighter weight solution to become_root()/unbecome_root()
(which swaps all the supplemental groups) and should be more
efficient. I will migrate all server code over to using this
(a similar technique should be used in the passdb backend
where needed).
Jeremy.
(This used to be commit
|
||
---|---|---|
.. | ||
load.c | ||
lpq_parse.c | ||
notify.c | ||
nt_printing.c | ||
pcap.c | ||
print_aix.c | ||
print_cups.c | ||
print_generic.c | ||
print_iprint.c | ||
print_svid.c | ||
printfsp.c | ||
printing_db.c | ||
printing.c |