diff options
author | Jeremie Courreges-Anglas <jca@cvs.openbsd.org> | 2015-10-24 15:31:01 +0000 |
---|---|---|
committer | Jeremie Courreges-Anglas <jca@cvs.openbsd.org> | 2015-10-24 15:31:01 +0000 |
commit | 4e0faeb65aca4ef0aed432713f7ced2df7c362e2 (patch) | |
tree | 6f870b95ff4ce1b6d89f068bfb9988da57bdfa95 /usr.sbin/identd/identd.c | |
parent | d388baeac3d0b55a29b6ac1b407421cf3a4f79a4 (diff) |
Fix pledge request to allow for setgroups.
setgroups needed "proc" before the introduction of "id" on 2015/10/17.
Initial patch from Gregor Best, from which I further removed "proc".
Diffstat (limited to 'usr.sbin/identd/identd.c')
-rw-r--r-- | usr.sbin/identd/identd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/identd/identd.c b/usr.sbin/identd/identd.c index 57a8500b236..377a84c3940 100644 --- a/usr.sbin/identd/identd.c +++ b/usr.sbin/identd/identd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: identd.c,v 1.32 2015/10/16 05:55:23 doug Exp $ */ +/* $OpenBSD: identd.c,v 1.33 2015/10/24 15:31:00 jca Exp $ */ /* * Copyright (c) 2013 David Gwynne <dlg@openbsd.org> @@ -314,7 +314,7 @@ main(int argc, char *argv[]) lerr(1, "signal(SIGPIPE)"); if (parent) { - if (pledge("stdio proc getpw rpath", NULL) == -1) + if (pledge("stdio getpw rpath id", NULL) == -1) err(1, "pledge"); SIMPLEQ_INIT(&sc.parent.replies); |