From owner-svn-src-stable@FreeBSD.ORG Thu Oct 4 01:26:14 2012 Return-Path: Delivered-To: svn-src-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4C94C106564A; Thu, 4 Oct 2012 01:26:14 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 364B78FC0C; Thu, 4 Oct 2012 01:26:14 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q941QEJX030104; Thu, 4 Oct 2012 01:26:14 GMT (envelope-from eadler@svn.freebsd.org) Received: (from eadler@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q941QDua030102; Thu, 4 Oct 2012 01:26:13 GMT (envelope-from eadler@svn.freebsd.org) Message-Id: <201210040126.q941QDua030102@svn.freebsd.org> From: Eitan Adler Date: Thu, 4 Oct 2012 01:26:13 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org X-SVN-Group: stable-9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r241171 - stable/9/usr.sbin/rtprio X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Oct 2012 01:26:14 -0000 Author: eadler Date: Thu Oct 4 01:26:13 2012 New Revision: 241171 URL: http://svn.freebsd.org/changeset/base/241171 Log: MFC r241061: Document the security.bsd.unprivileged_idprio in idprio(1) in addition to rtprio(2). Approved by: cperciva (implicit) Modified: stable/9/usr.sbin/rtprio/rtprio.1 Directory Properties: stable/9/usr.sbin/rtprio/ (props changed) Modified: stable/9/usr.sbin/rtprio/rtprio.1 ============================================================================== --- stable/9/usr.sbin/rtprio/rtprio.1 Wed Oct 3 23:23:45 2012 (r241170) +++ stable/9/usr.sbin/rtprio/rtprio.1 Thu Oct 4 01:26:13 2012 (r241171) @@ -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