summaryrefslogtreecommitdiffstats
path: root/usr.bin/id/id.1
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2011-03-05 12:40:35 +0000
committertrasz <trasz@FreeBSD.org>2011-03-05 12:40:35 +0000
commit62f6a13e39978ed28ac30de98bfd177259f00de2 (patch)
tree8810ff86b50f45ade154877395ba9bd0885b1dea /usr.bin/id/id.1
parent154e7a9e1b3b5b34692d8c1e59704d1567bbc073 (diff)
downloadFreeBSD-src-62f6a13e39978ed28ac30de98bfd177259f00de2.zip
FreeBSD-src-62f6a13e39978ed28ac30de98bfd177259f00de2.tar.gz
Add two new system calls, setloginclass(2) and getloginclass(2). This makes
it possible for the kernel to track login class the process is assigned to, which is required for RCTL. This change also make setusercontext(3) call setloginclass(2) and makes it possible to retrieve current login class using id(1). Reviewed by: kib (as part of a larger patch)
Diffstat (limited to 'usr.bin/id/id.1')
-rw-r--r--usr.bin/id/id.16
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/id/id.1 b/usr.bin/id/id.1
index 7b122bb..b697678 100644
--- a/usr.bin/id/id.1
+++ b/usr.bin/id/id.1
@@ -31,7 +31,7 @@
.\" @(#)id.1 8.1 (Berkeley) 6/6/93
.\" $FreeBSD$
.\"
-.Dd September 26, 2006
+.Dd March 5, 2011
.Dt ID 1
.Os
.Sh NAME
@@ -51,6 +51,8 @@
.Fl P
.Op Ar user
.Nm
+.Fl c
+.Nm
.Fl g Op Fl nr
.Op Ar user
.Nm
@@ -89,6 +91,8 @@ Display the id as a password file entry.
Ignored for compatibility with other
.Nm
implementations.
+.It Fl c
+Display current login class.
.It Fl g
Display the effective group ID as a number.
.It Fl n
OpenPOWER on IntegriCloud