aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorFlorian Walpen <dev@submerge.ch>2021-12-14 21:55:51 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2021-12-19 02:42:52 +0000
commit10b99914923936fcf244af720c2ad8fc4b395378 (patch)
tree71d66df97a7603a080fb36aaa244dd661e196483 /share
parent30c3a5f24825a8180ec18adb2921457436b3eb08 (diff)
Thread creation privilege for realtime group
(cherry picked from commit e28767f0e17550d8ed030cff0918202e5de101ab)
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/mac_priority.415
1 files changed, 9 insertions, 6 deletions
diff --git a/share/man/man4/mac_priority.4 b/share/man/man4/mac_priority.4
index 6dfb937d1596..868d027d5233 100644
--- a/share/man/man4/mac_priority.4
+++ b/share/man/man4/mac_priority.4
@@ -21,7 +21,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd December 7, 2021
+.Dd December 14, 2021
.Dt MAC_PRIORITY 4
.Os
.Sh NAME
@@ -79,13 +79,16 @@ priority through the
.Xr rtprio 2
system calls.
.Ss Privileges Granted
-The kernel privileges granted to any process running
-with the corresponding group gid is:
-.Bl -tag -width ".Dv PRIV_SCHED_RTPRIO" -offset indent
+The realtime policy grants the following kernel privileges to any process
+running with the realtime group id:
+.Bl -inset -offset indent -compact
.It Dv PRIV_SCHED_RTPRIO
-If it is a member of the realtime group.
+.It Dv PRIV_SCHED_SETPOLICY
+.El
+.Pp
+The kernel privilege granted by the idletime policy is:
+.Bl -inset -offset indent -compact
.It Dv PRIV_SCHED_IDPRIO
-If it is a member of the idletime group.
.El
.Ss Runtime Configuration
The following