-/* $OpenBSD: kern_sysctl.c,v 1.431 2024/08/05 13:46:16 mvs Exp $ */
+/* $OpenBSD: kern_sysctl.c,v 1.432 2024/08/05 15:43:58 mvs Exp $ */
/* $NetBSD: kern_sysctl.c,v 1.17 1996/05/20 17:49:05 mrg Exp $ */
/*-
return (sysctl_rdstruct(oldp, oldlenp, newp,
&mbs, sizeof(mbs)));
}
+ case KERN_OSREV:
+ case KERN_NFILES:
+ case KERN_TTYCOUNT:
+ case KERN_ARGMAX:
+ case KERN_POSIX1:
+ case KERN_NGROUPS:
+ case KERN_JOB_CONTROL:
+ case KERN_SAVED_IDS:
+ case KERN_MAXPARTITIONS:
+ case KERN_RAWPARTITION:
+ case KERN_NTHREADS:
+ case KERN_SOMAXCONN:
+ case KERN_SOMINCONN:
+ case KERN_FSYNC:
+ case KERN_SYSVMSG:
+ case KERN_SYSVSEM:
+ case KERN_SYSVSHM:
+ case KERN_FSCALE:
+ case KERN_CCPU:
+ case KERN_NPROCS:
+ case KERN_NETLIVELOCKS:
+ case KERN_AUTOCONF_SERIAL:
+ return (sysctl_bounded_arr(kern_vars, nitems(kern_vars), name,
+ namelen, oldp, oldlenp, newp, newlen));
}
savelen = *oldlenp;