9e38cd5
Move run_as_user check out of drop_privs() Signed-off-by: Stanislav Levin <slev@altlinux.org> [rharwood@redhat.com: commit message] Reviewed-by: Robbie Harwood <rharwood@redhat.com> Reviewed-by: Simo Sorce <simo@redhat.com>