1
0
mirror of https://github.com/openbsd/src.git synced 2026-04-24 06:04:47 +00:00

This is using pledge "tmppath" with "rpath wpath cpath".

The "tmppath" is not needed.
ok semarie and others
This commit is contained in:
deraadt
2026-02-18 15:23:36 +00:00
parent 8b8eaf56ff
commit cd7feeec72

View File

@@ -1,4 +1,4 @@
/* $OpenBSD: htpasswd.c,v 1.18 2021/07/12 15:09:19 beck Exp $ */
/* $OpenBSD: htpasswd.c,v 1.19 2026/02/18 15:23:36 deraadt Exp $ */
/*
* Copyright (c) 2014 Florian Obser <florian@openbsd.org>
*
@@ -78,7 +78,7 @@ main(int argc, char** argv)
if (unveil("/tmp", "rwc") == -1)
err(1, "unveil /tmp");
}
if (pledge("stdio rpath wpath cpath flock tmppath tty", NULL) == -1)
if (pledge("stdio rpath wpath cpath flock tty", NULL) == -1)
err(1, "pledge");
if (batch) {