1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-10 06:47:55 -08:00
openbsd-src/usr.bin/htpasswd
mestre ed9cd39626 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@
2018-10-31 07:39:10 +00:00
..
htpasswd.1 clarify which httpd we are talking about; 2017-07-07 16:30:06 +00:00
htpasswd.c htpasswd(1) when in batch mode (-I) and 1 argument is used, or when not in 2018-10-31 07:39:10 +00:00
Makefile remove redundant variable declarations in Makefiles, since those are 2017-07-09 21:23:18 +00:00