artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24ecfc6
)
Add "id" pledge to syslogd privsep process. Needed for logging to pipe.
author
bluhm
<bluhm@openbsd.org>
Sun, 18 Oct 2015 16:35:06 +0000
(16:35 +0000)
committer
bluhm
<bluhm@openbsd.org>
Sun, 18 Oct 2015 16:35:06 +0000
(16:35 +0000)
OK deraadt@
usr.sbin/syslogd/privsep.c
patch
|
blob
|
history
diff --git
a/usr.sbin/syslogd/privsep.c
b/usr.sbin/syslogd/privsep.c
index
4487650
..
358b60c
100644
(file)
--- a/
usr.sbin/syslogd/privsep.c
+++ b/
usr.sbin/syslogd/privsep.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: privsep.c,v 1.5
7 2015/10/16 16:10:10
bluhm Exp $ */
+/* $OpenBSD: privsep.c,v 1.5
8 2015/10/18 16:35:06
bluhm Exp $ */
/*
* Copyright (c) 2003 Anil Madhavapeddy <anil@recoil.org>
@@
-144,7
+144,7
@@
priv_init(char *conf, int numeric, int lockfd, int nullfd, char *argv[])
return 0;
}
- if (pledge("stdio rpath wpath cpath inet dns getpw sendfd proc exec",
+ if (pledge("stdio rpath wpath cpath inet dns getpw sendfd
id
proc exec",
NULL) == -1)
err(1, "pledge priv");