summaryrefslogtreecommitdiffstats
path: root/usr.bin/id/id.1
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2004-05-03 22:50:23 +0000
committerrwatson <rwatson@FreeBSD.org>2004-05-03 22:50:23 +0000
commitbbf5b43ff872f9712d3c641cf598a6654c69f426 (patch)
treec43c816eb1dfbc30af4a2ac3b95ddcf685fc45c0 /usr.bin/id/id.1
parent15b2afd48d4fd4449a185be66041193f610303a5 (diff)
downloadFreeBSD-src-bbf5b43ff872f9712d3c641cf598a6654c69f426.zip
FreeBSD-src-bbf5b43ff872f9712d3c641cf598a6654c69f426.tar.gz
Add "-M" argument to id(1), which permits the id command to be used
to print the MAC label of the current process. "-M" selected as that's what is used in Trusted IRIX. Obtained from: TrustedBSD Project Sponsored by: DARPA, McAfee Research
Diffstat (limited to 'usr.bin/id/id.1')
-rw-r--r--usr.bin/id/id.14
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.bin/id/id.1 b/usr.bin/id/id.1
index f132f46..7079446 100644
--- a/usr.bin/id/id.1
+++ b/usr.bin/id/id.1
@@ -48,6 +48,8 @@
.Fl G Op Fl n
.Op Ar user
.Nm
+.Fl M
+.Nm
.Fl P
.Op Ar user
.Nm
@@ -78,6 +80,8 @@ The options are as follows:
.It Fl G
Display the different group IDs (effective, real and supplementary)
as white-space separated numbers, in no particular order.
+.It Fl M
+Display the MAC label of the current prorcess.
.It Fl P
Display the id as a password file entry.
.It Fl g
OpenPOWER on IntegriCloud