artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f69f3e5
)
allow the KERN_AUTOCONF_SERIAL sysctl in pledge'd processes
author
robert
<robert@openbsd.org>
Tue, 8 Nov 2022 19:17:58 +0000
(19:17 +0000)
committer
robert
<robert@openbsd.org>
Tue, 8 Nov 2022 19:17:58 +0000
(19:17 +0000)
ok deraadt@
sys/kern/kern_pledge.c
patch
|
blob
|
history
diff --git
a/sys/kern/kern_pledge.c
b/sys/kern/kern_pledge.c
index
86a7780
..
e78f941
100644
(file)
--- a/
sys/kern/kern_pledge.c
+++ b/
sys/kern/kern_pledge.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: kern_pledge.c,v 1.29
6 2022/10/07 14:59:39 deraadt Exp $
*/
+/* $OpenBSD: kern_pledge.c,v 1.29
7 2022/11/08 19:17:58 robert Exp $
*/
/*
* Copyright (c) 2015 Nicholas Marriott <nicm@openbsd.org>
@@
-964,6
+964,7
@@
pledge_sysctl(struct proc *p, int miblen, int *mib, void *new)
case KERN_NGROUPS: /* kern.ngroups */
case KERN_SYSVSHM: /* kern.sysvshm */
case KERN_POSIX1: /* kern.posix1version */
+ case KERN_AUTOCONF_SERIAL: /* kern.autoconf_serial */
return (0);
}
break;