summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src/ssl/ssl_lib.c
diff options
context:
space:
mode:
authorrpe <rpe@openbsd.org>2016-09-03 11:29:17 +0000
committerrpe <rpe@openbsd.org>2016-09-03 11:29:17 +0000
commita232c3a3a86d52162404898c788afba65b9a02c9 (patch)
treeeb9c9fb4a12ae6e1703f3bb208d0cae83eb90257 /lib/libssl/src/ssl/ssl_lib.c
parentset password to return of readpassphrase(), not always the buffer. (diff)
downloadwireguard-openbsd-a232c3a3a86d52162404898c788afba65b9a02c9.tar.xz
wireguard-openbsd-a232c3a3a86d52162404898c788afba65b9a02c9.zip
Add a do_as() function that executes commands as unprivileged user
and ensures that no processes of this user remain active afterwards. Optionally, it creates a file, that is owned by the user only for this command execution. Afterwards it's chown'd by root. Add wrapper functions for do_as(). unpriv() uses the _sndio user and unpriv2() uses the _file user to execute commands. OK halex, tb, deraadt
Diffstat (limited to 'lib/libssl/src/ssl/ssl_lib.c')
0 files changed, 0 insertions, 0 deletions