Add a sysctl, kern.unprivileged_read_msgbuf (defaults to enabled) which if
authorMatthew Dillon <dillon@dragonflybsd.org>
Thu, 29 Sep 2005 20:43:56 +0000 (20:43 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Thu, 29 Sep 2005 20:43:56 +0000 (20:43 +0000)
commitd41cbec35e34b2af14cf5c53ed60c8f01428158d
treeecaa9000dfd67b3d1277989265cb972ef7a4dcb9
parentf73cf1ce0f95f558f7a8ad2ee65ce85307eec7b9
Add a sysctl, kern.unprivileged_read_msgbuf (defaults to enabled) which if
set to 0 will only allow the root or wheel group to access the kernel message
log.

Submitted-by: Matthias Schmidt <schmidtm@mathematik.uni-marburg.de>
With-modifications-by: Matthew Dillon
Taken-from: FreeBSD/subr_prf.c/1.74
sys/kern/subr_prf.c