From owner-svn-src-all@FreeBSD.ORG Sun Mar 6 08:56:44 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A686A106566B; Sun, 6 Mar 2011 08:56:44 +0000 (UTC) (envelope-from trasz@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 951CE8FC22; Sun, 6 Mar 2011 08:56:44 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p268uiGr091664; Sun, 6 Mar 2011 08:56:44 GMT (envelope-from trasz@svn.freebsd.org) Received: (from trasz@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p268uis4091662; Sun, 6 Mar 2011 08:56:44 GMT (envelope-from trasz@svn.freebsd.org) Message-Id: <201103060856.p268uis4091662@svn.freebsd.org> From: Edward Tomasz Napierala Date: Sun, 6 Mar 2011 08:56:44 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219328 - head/lib/libutil X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Mar 2011 08:56:44 -0000 Author: trasz Date: Sun Mar 6 08:56:44 2011 New Revision: 219328 URL: http://svn.freebsd.org/changeset/base/219328 Log: Mention setloginclass(2) in login_class(3). Modified: head/lib/libutil/login_class.3 Modified: head/lib/libutil/login_class.3 ============================================================================== --- head/lib/libutil/login_class.3 Sun Mar 6 08:55:36 2011 (r219327) +++ head/lib/libutil/login_class.3 Sun Mar 6 08:56:44 2011 (r219328) @@ -19,7 +19,7 @@ .\" .\" $FreeBSD$ .\" -.Dd October 20, 2008 +.Dd March 6, 2011 .Dt LOGIN_CLASS 3 .Os .Sh NAME @@ -75,7 +75,7 @@ Each of these actions is selectable via in the .Ar flags parameter, which is comprised of one or more of the following: -.Bl -tag -width LOGIN_SETRESOURCES +.Bl -tag -width LOGIN_SETLOGINCLASS .It LOGIN_SETLOGIN Set the login associated with the current session to the user specified in the passwd structure using @@ -170,6 +170,9 @@ utility or the case-insensitive string If the string is .Ql default no action will be taken. +.It LOGIN_SETLOGINCLASS +Set the login class of the current process using +.Xr setloginclass 2 . .It LOGIN_SETALL Enables all of the above settings. .El @@ -203,9 +206,11 @@ or resources, a message is reported to with LOG_ERR priority and directed to the currently active facility. .Sh SEE ALSO .Xr cpuset 1 , +.Xr ps 1 , .Xr cpuset 2 , .Xr setgid 2 , .Xr setlogin 2 , +.Xr setloginclass 2 , .Xr setuid 2 , .Xr getcap 3 , .Xr initgroups 3 ,