diff options
author | Florian Obser <florian@cvs.openbsd.org> | 2019-06-16 19:49:14 +0000 |
---|---|---|
committer | Florian Obser <florian@cvs.openbsd.org> | 2019-06-16 19:49:14 +0000 |
commit | ae4e0bc7bbf947e8ac05f345ded904544bdc74ed (patch) | |
tree | ec6eff19a378993249df66e8176d23f81280e32c /usr.sbin/hostapd | |
parent | 52f19d28350e8cb4cf29b8e5ff0df5a5a7a7a341 (diff) |
Trade unveil(2) for chroot(2).
This uses less code and unveil(2) seems to be the better tool here.
The directory one chroots into needs to be carefully setup (they are
not) and comon wisedom is that root can break out of chroots.
There is probably nothing wrong with the chroot code because of pledge
but it still makes me feel uneasy.
input & OK on previous version mestre
OK on previous version deraadt
bug found, input & OK benno
Diffstat (limited to 'usr.sbin/hostapd')
0 files changed, 0 insertions, 0 deletions