The first panic in pledge_namei should only be for ni_pledge == 0
authorderaadt <deraadt@openbsd.org>
Mon, 13 Aug 2018 20:31:38 +0000 (20:31 +0000)
committerderaadt <deraadt@openbsd.org>
Mon, 13 Aug 2018 20:31:38 +0000 (20:31 +0000)
commitee41fe2bb2c8bc9d81f39d8aac0222e6dcd3bf74
tree76df49e1bdf17726e2d6a17ff2ca2c62529b5803
parent8f6f64076bfc41acf34cd9f295a9b9fe606d8e73
The first panic in pledge_namei should only be for ni_pledge == 0
(the other cause is implausible, and crashes with a nice *NULL)
sys/kern/kern_pledge.c