uwrap: Allow setregid calls only for privileged users
authorAndreas Schneider <asn@samba.org>
Fri, 30 Oct 2015 12:40:18 +0000 (13:40 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Thu, 5 Nov 2015 08:23:16 +0000 (09:23 +0100)
commitbe0cb8ab4d68680f0c4b1ec1db994781056d61b2
treebd674bcc02fba2e680498f232c3f00922f52e5fe
parent6b388799e1c834d74584dc6982155c731f56a49a
uwrap: Allow setregid calls only for privileged users

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
lib/uid_wrapper/uid_wrapper.c