summaryrefslogtreecommitdiff
path: root/sys/kern/kern_sig.c
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2016-03-09 12:55:19 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2016-03-09 12:55:19 +0000
commit915c509003ff173d8d3f034de16f7b505d93d4f9 (patch)
treee35d393762c1e222e22347f53fe4039f16beb5ea /sys/kern/kern_sig.c
parentafe90395aba5328f0328b03814da91176cdefc51 (diff)
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 'sys/kern/kern_sig.c')
0 files changed, 0 insertions, 0 deletions