diff options
author | Ricardo Mestre <mestre@cvs.openbsd.org> | 2021-11-11 08:42:32 +0000 |
---|---|---|
committer | Ricardo Mestre <mestre@cvs.openbsd.org> | 2021-11-11 08:42:32 +0000 |
commit | a604d3bebe42d713fdaa41696bb95494b04ddccd (patch) | |
tree | 7ecbb9af2b82760a6c39cc0f2555770bd8765fad /bin/test | |
parent | d2d4b581940a96e3816bfced32ea21d9a49798d8 (diff) |
There's no need to call pledge(2) so many times, or on many places, with the
same promises, just call it once before the switch case while at the same time
hoisting one unveil(2) so they are all grouped.
The call to pledge(2) on file() can also be simplified since "stdio rpath getpw"
will already be activated when we reach it.
OK deraadt@
Diffstat (limited to 'bin/test')
0 files changed, 0 insertions, 0 deletions