diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2016-03-09 12:55:19 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2016-03-09 12:55:19 +0000 |
commit | 915c509003ff173d8d3f034de16f7b505d93d4f9 (patch) | |
tree | e35d393762c1e222e22347f53fe4039f16beb5ea /sys/kern/kern_sig.c | |
parent | afe90395aba5328f0328b03814da91176cdefc51 (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