diff options
author | 2016-03-09 12:55:18 +0000 | |
---|---|---|
committer | 2016-03-09 12:55:18 +0000 | |
commit | 0a9d837b0886554e10e3e6bf619b91150620e907 (patch) | |
tree | 6af433cc4b4e2ed7c6200d7d91034dfaef074f07 /lib/libc | |
parent | Move db_show_regs() in the only file where it is used and turn it private. (diff) | |
download | wireguard-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