From dd16a0e34eda1a43f528a6058f03a1ae78575b73 Mon Sep 17 00:00:00 2001 From: tb Date: Sun, 6 Mar 2016 19:31:32 +0000 Subject: Drop "rpath" promise. Now that pledge() is called after setlocale(), this is no longer needed. ok beck@, natano@ --- sbin/mknod/mknod.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sbin/mknod/mknod.c') diff --git a/sbin/mknod/mknod.c b/sbin/mknod/mknod.c index b2e479b8031..91b311e5544 100644 --- a/sbin/mknod/mknod.c +++ b/sbin/mknod/mknod.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mknod.c,v 1.27 2016/03/06 14:38:19 espie Exp $ */ +/* $OpenBSD: mknod.c,v 1.28 2016/03/06 19:31:31 tb Exp $ */ /* $NetBSD: mknod.c,v 1.8 1995/08/11 00:08:18 jtc Exp $ */ /* @@ -54,7 +54,7 @@ main(int argc, char *argv[]) setlocale(LC_ALL, ""); - if (pledge("stdio rpath dpath", NULL) == -1) + if (pledge("stdio dpath", NULL) == -1) err(1, "pledge"); node = reallocarray(NULL, sizeof(struct node), argc); -- cgit v1.2.3