mirror of
https://github.com/openbsd/src.git
synced 2025-01-10 06:47:55 -08:00
ed9cd39626
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@ |
||
---|---|---|
.. | ||
htpasswd.1 | ||
htpasswd.c | ||
Makefile |