diff options
author | 2017-07-23 14:28:22 +0000 | |
---|---|---|
committer | 2017-07-23 14:28:22 +0000 | |
commit | f37041af1753ead261693224ab1d2baba9019f1b (patch) | |
tree | 664269858c248f57bc260a833079361d86bbaf04 /lib/libssl/t1_lib.c | |
parent | Don't bother initializing global variables to 0, since they will be in BSS. (diff) | |
download | wireguard-openbsd-f37041af1753ead261693224ab1d2baba9019f1b.tar.xz wireguard-openbsd-f37041af1753ead261693224ab1d2baba9019f1b.zip |
Don't hit pledge(2) restrictions on interface departure
if_exists() can't be used after dropping privileges, since it uses
socket(2) and ioctl(SIOCGIFDATA). We're just trying to know whether an
interface exists, and if_nametoindex(3) is enough for that.
ok deraadt@
Diffstat (limited to 'lib/libssl/t1_lib.c')
0 files changed, 0 insertions, 0 deletions