diff options
author | eadler <eadler@FreeBSD.org> | 2012-09-30 03:21:21 +0000 |
---|---|---|
committer | eadler <eadler@FreeBSD.org> | 2012-09-30 03:21:21 +0000 |
commit | 525250e187de68181726977dc543a6b03c2552fa (patch) | |
tree | 18e828f0b0c2f793a007a3ef23eabd1944b1723b | |
parent | bc883ac4c72b5e5ea6ae9da9efb1db67de377554 (diff) | |
download | FreeBSD-src-525250e187de68181726977dc543a6b03c2552fa.zip FreeBSD-src-525250e187de68181726977dc543a6b03c2552fa.tar.gz |
Document the security.bsd.unprivileged_idprio in idprio(1) in addition
to rtprio(2).
Approved by: wblock
MFC after: 3 days
-rw-r--r-- | usr.sbin/rtprio/rtprio.1 | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/usr.sbin/rtprio/rtprio.1 b/usr.sbin/rtprio/rtprio.1 index 567a1c4..22d0645 100644 --- a/usr.sbin/rtprio/rtprio.1 +++ b/usr.sbin/rtprio/rtprio.1 @@ -30,7 +30,7 @@ .\" .\" $FreeBSD$ .\" -.Dd July 23, 1994 +.Dd September 29, 2012 .Dt RTPRIO 1 .Os .Sh NAME @@ -113,6 +113,14 @@ highest priority of 0 means "the current process". .Pp Only root is allowed to set realtime or idle priority for a process. +A user may modify the idle priority of their own processes if the +.Xr sysctl 8 +variable +.Va security.bsd.unprivileged_idprio +is set to non-zero. +Note that this increases the chance that a deadlock can occur +if a process locks a required resource and then does +not get to run. .Sh EXIT STATUS If .Nm |