summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2016-03-09 12:55:18 +0000
committerkrw <krw@openbsd.org>2016-03-09 12:55:18 +0000
commit0a9d837b0886554e10e3e6bf619b91150620e907 (patch)
tree6af433cc4b4e2ed7c6200d7d91034dfaef074f07 /lib/libc
parentMove db_show_regs() in the only file where it is used and turn it private. (diff)
downloadwireguard-openbsd-0a9d837b0886554e10e3e6bf619b91150620e907.tar.xz
wireguard-openbsd-0a9d837b0886554e10e3e6bf619b91150620e907.zip
Accept only character special devices rather than generating a core
dump on the attempt to get a disklabel from a regular file. Regular files have not been acceptable as the 'disk' for some time, and pledging changed the consequences from a somewhat obscure error message to an abort(). Issue discovered by espie@. ok natano@
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions