diff options
author | 2016-09-19 20:10:54 +0000 | |
---|---|---|
committer | 2016-09-19 20:10:54 +0000 | |
commit | 658b5323eb8b4bf70a230ad50868e82d11dc4eaf (patch) | |
tree | e94a41596960976596962d2efc1d96d5e25c49fc /lib/libssl/ssl_lib.c | |
parent | Fix pstat -ft. In presence of the -f flag, a logic error in ttymode() (diff) | |
download | wireguard-openbsd-658b5323eb8b4bf70a230ad50868e82d11dc4eaf.tar.xz wireguard-openbsd-658b5323eb8b4bf70a230ad50868e82d11dc4eaf.zip |
Add pledge support to pstat
The filemode(), ttymode() and vnodemode() functions can be split into two
pieces. The *_prep() piece must be hoisted to before pledge and the rest
can run under pledge "stdio rpath vminfo". The magic block that decides
which ones of the *_prep() pieces must be run with which combination of
command line switches is quite impressive.
Patch from Rob Pierce, thanks!
ok deraadt
Diffstat (limited to 'lib/libssl/ssl_lib.c')
0 files changed, 0 insertions, 0 deletions