HomeFreeBSD

Add a new jail permission, allow.read_msgbuf. When true, jailed processes

Description

Add a new jail permission, allow.read_msgbuf. When true, jailed processes
can see the dmesg buffer (this is the current behavior). When false (the
new default), dmesg will be unavailable to jailed users, whether root or
not.

The security.bsd.unprivileged_read_msgbuf sysctl still works as before,
controlling system-wide whether non-root users can see the buffer.

PR: 211580
Submitted by: bz
Approved by: re@ (kib@)
MFC after: 3 days

Details

Provenance
jamieAuthored on
Parents
rS339408: strptime: fix parsing of tm_year when both %C and %y appear in the
Branches
Unknown
Tags
Unknown