Revert r1.87 "Pledge before authentication when possible"
authorkn <kn@openbsd.org>
Thu, 21 Jan 2021 08:13:59 +0000 (08:13 +0000)
committerkn <kn@openbsd.org>
Thu, 21 Jan 2021 08:13:59 +0000 (08:13 +0000)
commit68e47d60f0b22f2cac8b6fd3b2488a09fd279c84
tree473d513e37a3b42d818989100265d907f1fdb789
parentd075035988bfac1ed904a9a8aa5fc60ce6e50b27
Revert r1.87 "Pledge before authentication when possible"

Someone reported to me that

''This breaks ansible managed machines where "persist" isn't used. There
i get

/bsd: doas[49341]: pledge "proc", syscall 2

Using "persist", everything is fine.''
usr.bin/doas/doas.c