[Midnightbsd-cvs] src [8145] trunk/usr.sbin/rtprio/rtprio.1: document security

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Fri Sep 16 18:14:46 EDT 2016


Revision: 8145
          http://svnweb.midnightbsd.org/src/?rev=8145
Author:   laffer1
Date:     2016-09-16 18:14:46 -0400 (Fri, 16 Sep 2016)
Log Message:
-----------
document security

Modified Paths:
--------------
    trunk/usr.sbin/rtprio/rtprio.1

Modified: trunk/usr.sbin/rtprio/rtprio.1
===================================================================
--- trunk/usr.sbin/rtprio/rtprio.1	2016-09-16 22:14:07 UTC (rev 8144)
+++ trunk/usr.sbin/rtprio/rtprio.1	2016-09-16 22:14:46 UTC (rev 8145)
@@ -30,7 +30,7 @@
 .\"
 .\" $MidnightBSD$
 .\"
-.Dd July 23, 1994
+.Dd September 29, 2012
 .Dt RTPRIO 1
 .Os
 .Sh NAME
@@ -113,6 +113,14 @@
 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



More information about the Midnightbsd-cvs mailing list