artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89153ce
)
getting sloppy, lost a }
author
deraadt
<deraadt@openbsd.org>
Sun, 18 Oct 2015 04:21:39 +0000
(
04:21
+0000)
committer
deraadt
<deraadt@openbsd.org>
Sun, 18 Oct 2015 04:21:39 +0000
(
04:21
+0000)
sys/kern/kern_pledge.c
patch
|
blob
|
history
diff --git
a/sys/kern/kern_pledge.c
b/sys/kern/kern_pledge.c
index
2c1b209
..
2d4f8ac
100644
(file)
--- a/
sys/kern/kern_pledge.c
+++ b/
sys/kern/kern_pledge.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: kern_pledge.c,v 1.5
2 2015/10/18 03:30:01
deraadt Exp $ */
+/* $OpenBSD: kern_pledge.c,v 1.5
3 2015/10/18 04:21:39
deraadt Exp $ */
/*
* Copyright (c) 2015 Nicholas Marriott <nicm@openbsd.org>
@@
-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) &&