From cd7feeec72005af0775b8425fad6119a4d301e66 Mon Sep 17 00:00:00 2001 From: deraadt Date: Wed, 18 Feb 2026 15:23:36 +0000 Subject: [PATCH] This is using pledge "tmppath" with "rpath wpath cpath". The "tmppath" is not needed. ok semarie and others --- usr.bin/htpasswd/htpasswd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/htpasswd/htpasswd.c b/usr.bin/htpasswd/htpasswd.c index 03a9e762c12..ce6c9f407a4 100644 --- a/usr.bin/htpasswd/htpasswd.c +++ b/usr.bin/htpasswd/htpasswd.c @@ -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 * @@ -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) {