summaryrefslogtreecommitdiffstats
path: root/lib/libutil
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2011-03-06 08:56:44 +0000
committertrasz <trasz@FreeBSD.org>2011-03-06 08:56:44 +0000
commit229ca25a4ffd260489a46b13f6931d9f37543be0 (patch)
tree136f355a5d2a9d2863f5c6724a71baa92e4ef25f /lib/libutil
parentfb78109e590b11fdb8809cd84d08c675eda6e3c6 (diff)
downloadFreeBSD-src-229ca25a4ffd260489a46b13f6931d9f37543be0.zip
FreeBSD-src-229ca25a4ffd260489a46b13f6931d9f37543be0.tar.gz
Mention setloginclass(2) in login_class(3).
Diffstat (limited to 'lib/libutil')
-rw-r--r--lib/libutil/login_class.39
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/libutil/login_class.3 b/lib/libutil/login_class.3
index 083e942..021cc5e 100644
--- a/lib/libutil/login_class.3
+++ b/lib/libutil/login_class.3
@@ -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 bit-flags passed
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 ,
OpenPOWER on IntegriCloud