diff options
author | 2016-09-03 11:29:17 +0000 | |
---|---|---|
committer | 2016-09-03 11:29:17 +0000 | |
commit | a232c3a3a86d52162404898c788afba65b9a02c9 (patch) | |
tree | eb9c9fb4a12ae6e1703f3bb208d0cae83eb90257 /lib/libssl/src | |
parent | set password to return of readpassphrase(), not always the buffer. (diff) | |
download | wireguard-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')
0 files changed, 0 insertions, 0 deletions