Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Sep 2012 03:21:22 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r241061 - head/usr.sbin/rtprio
Message-ID:  <201209300321.q8U3LMKt049555@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eadler
Date: Sun Sep 30 03:21:21 2012
New Revision: 241061
URL: http://svn.freebsd.org/changeset/base/241061

Log:
  Document the security.bsd.unprivileged_idprio in idprio(1) in addition
  to rtprio(2).
  
  Approved by:	wblock
  MFC after:	3 days

Modified:
  head/usr.sbin/rtprio/rtprio.1

Modified: head/usr.sbin/rtprio/rtprio.1
==============================================================================
--- head/usr.sbin/rtprio/rtprio.1	Sun Sep 30 00:44:53 2012	(r241060)
+++ head/usr.sbin/rtprio/rtprio.1	Sun Sep 30 03:21:21 2012	(r241061)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209300321.q8U3LMKt049555>