From f1094693be9b9c43d3c3d5e03fff7b07ad98a003 Mon Sep 17 00:00:00 2001 From: deraadt Date: Fri, 3 Aug 2018 04:19:34 +0000 Subject: [PATCH] This does not need pledge "wpath" --- usr.bin/encrypt/encrypt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/encrypt/encrypt.c b/usr.bin/encrypt/encrypt.c index 33037665423..797bf397aa4 100644 --- a/usr.bin/encrypt/encrypt.c +++ b/usr.bin/encrypt/encrypt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: encrypt.c,v 1.47 2017/05/24 09:19:55 mestre Exp $ */ +/* $OpenBSD: encrypt.c,v 1.48 2018/08/03 04:19:34 deraadt Exp $ */ /* * Copyright (c) 1996, Jason Downs. All rights reserved. @@ -95,7 +95,7 @@ main(int argc, char **argv) char *extra = NULL; /* Store login class or number of rounds */ const char *errstr; - if (pledge("stdio rpath wpath tty", NULL) == -1) + if (pledge("stdio rpath tty", NULL) == -1) err(1, "pledge"); while ((opt = getopt(argc, argv, "pb:c:")) != -1) { -- 2.20.1