summaryrefslogtreecommitdiff
path: root/openbsd-compat
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2017-03-29 12:39:39 +1100
committerDarren Tucker <dtucker@zip.com.au>2017-03-29 12:39:39 +1100
commitd13281f2964abc5f2e535e1613c77fc61b0c53e7 (patch)
tree1b7b69f03a3af2441768ab77c8fa5f36ca2cdc65 /openbsd-compat
parentf2742a481fe151e493765a3fbdef200df2ea7037 (diff)
Don't check privsep user or path when unprivileged
If running with privsep (mandatory now) as a non-privileged user, we don't chroot or change to an unprivileged user however we still checked the existence of the user and directory. Don't do those checks if we're not going to use them. Based in part on a patch from Lionel Fourquaux via Corinna Vinschen, ok djm@
Diffstat (limited to 'openbsd-compat')
0 files changed, 0 insertions, 0 deletions