diff options
author | Ricardo Mestre <mestre@cvs.openbsd.org> | 2018-10-31 07:39:11 +0000 |
---|---|---|
committer | Ricardo Mestre <mestre@cvs.openbsd.org> | 2018-10-31 07:39:11 +0000 |
commit | 46b448e3f27779034cea3a31ecf7df0be50d64b6 (patch) | |
tree | 8edd67f6ab155b8ba0505704f36b4fa2e6a34ef2 /sys/dev/pci | |
parent | 975fc703a2e5ea28e48ba3491d905e31c0a15ede (diff) |
htpasswd(1) when in batch mode (-I) and 1 argument is used, or when not in
batch mode and 2 arguments are used we know we have to access argv[0] with rwc
permissions and also to rwc a temporary file in /tmp so we can unveil(2) both
argv[0] and /tmp with rwc permissions. In order to avoid adding "unveil" to
pledge(2), just call it after getopt(3).
Remaining code paths already have fs access disabled via pledge(2).
OK florian@ deraadt@
Diffstat (limited to 'sys/dev/pci')
0 files changed, 0 insertions, 0 deletions