Allow unveiled programs to dump core (in the default, classic, into . way)
authorderaadt <deraadt@openbsd.org>
Mon, 10 Jul 2023 22:54:40 +0000 (22:54 +0000)
committerderaadt <deraadt@openbsd.org>
Mon, 10 Jul 2023 22:54:40 +0000 (22:54 +0000)
commit8447828fb0903987bef7a6c07a95b4bcfafa9315
tree4d4aeb891dd68dfbd18c1a39321498f928b57963
parentaaea8ada220cf53ceff4705ed498d0fe4f0476e4
Allow unveiled programs to dump core (in the default, classic, into . way)
by passing BYPASSUNVEIL just for this vnode.  The coredump() code is quite
careful, so this will be fine.
ok kn kettenis semarie
sys/kern/kern_sig.c
sys/kern/vfs_vnops.c