From: deraadt Date: Sun, 18 Oct 2015 04:21:39 +0000 (+0000) Subject: getting sloppy, lost a } X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=38f57ae1d877dbc247027dfcc7deff8d523d6867;p=openbsd getting sloppy, lost a } --- diff --git a/sys/kern/kern_pledge.c b/sys/kern/kern_pledge.c index 2c1b209b299..2d4f8ac3f0f 100644 --- a/sys/kern/kern_pledge.c +++ b/sys/kern/kern_pledge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_pledge.c,v 1.52 2015/10/18 03:30:01 deraadt Exp $ */ +/* $OpenBSD: kern_pledge.c,v 1.53 2015/10/18 04:21:39 deraadt Exp $ */ /* * Copyright (c) 2015 Nicholas Marriott @@ -580,6 +580,7 @@ pledge_namei(struct proc *p, char *origpath) (p->p_pledgenote & ~(TMN_RPATH | TMN_WPATH)) == 0 && strcmp(path, "/dev/tty") == 0) { return (0); + } /* DNS needs /etc/{resolv.conf,hosts,services}. */ if ((p->p_pledgenote == TMN_RPATH) &&