From b1e9a473929a5c4c46fcb7228465152569a14c07 Mon Sep 17 00:00:00 2001 From: deraadt Date: Sun, 1 Nov 2015 19:59:28 +0000 Subject: needs pledge "cpath" to allow unlink of AF_UNIX sockets eventually --- usr.sbin/inetd/inetd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin/inetd') diff --git a/usr.sbin/inetd/inetd.c b/usr.sbin/inetd/inetd.c index 01cd6cc286f..461a89f137f 100644 --- a/usr.sbin/inetd/inetd.c +++ b/usr.sbin/inetd/inetd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: inetd.c,v 1.148 2015/11/01 00:31:18 deraadt Exp $ */ +/* $OpenBSD: inetd.c,v 1.149 2015/11/01 19:59:28 deraadt Exp $ */ /* * Copyright (c) 1983,1991 The Regents of the University of California. @@ -346,7 +346,7 @@ main(int argc, char *argv[]) (void) setlogin(""); } - if (pledge("stdio rpath getpw dns inet unix proc exec id", NULL) == -1) + if (pledge("stdio rpath cpath getpw dns inet unix proc exec id", NULL) == -1) err(1, "pledge"); if (uid == 0) { -- cgit v1.2.3-59-g8ed1b