After authentication is complete, unveil login.conf "r" (to discover
authorderaadt <deraadt@openbsd.org>
Wed, 8 Aug 2018 18:32:51 +0000 (18:32 +0000)
committerderaadt <deraadt@openbsd.org>
Wed, 8 Aug 2018 18:32:51 +0000 (18:32 +0000)
commit0d5eb34f5e1374a4462dd25360b842b054aa1966
tree58cb3687b336599b55c80645114d5676d51930a7
parent19f98690d15f309f051a9bb3cc02596f4e9cb46b
After authentication is complete, unveil login.conf "r" (to discover
login tweaks), and walk the path (would could be $PATH, or not) adding
an unveil "x" to each possible executable which execvpe() could later
be tried by execvpe.
It would be great if we could do some unveil before authentication, but
I failed to determine all the possibilities.
Some problem reports by bluhm, tb, florian, and others during development
In snaps for about 3 weeks.
ok florian
usr.bin/doas/doas.c