summaryrefslogtreecommitdiffstats
path: root/bin/ls/ls.1
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2002-10-24 00:07:30 +0000
committerrwatson <rwatson@FreeBSD.org>2002-10-24 00:07:30 +0000
commita20ce31a589e9e23445a90849727252ecd52ce91 (patch)
treef73db318a2d9760cf896be092cf15e5f29f06f7d /bin/ls/ls.1
parentc1f79de8c7e95092759b8bf882668ce50bc83a7c (diff)
downloadFreeBSD-src-a20ce31a589e9e23445a90849727252ecd52ce91.zip
FreeBSD-src-a20ce31a589e9e23445a90849727252ecd52ce91.tar.gz
Teach "ls -Z" to use the policy-agnostic MAC label interfaces rather
than the LOMAC-specific interfaces for listing MAC labels. This permits ls to view MAC labels in a manner similar to getfmac, when ls is used with the -l argument. Next generation LOMAC will use the MAC Framework so should "just" work with this and other policies. Not the prettiest code in the world, but then, neither is ls(1). Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
Diffstat (limited to 'bin/ls/ls.1')
-rw-r--r--bin/ls/ls.110
1 files changed, 2 insertions, 8 deletions
diff --git a/bin/ls/ls.1 b/bin/ls/ls.1
index 025fd62..45f6779 100644
--- a/bin/ls/ls.1
+++ b/bin/ls/ls.1
@@ -146,7 +146,7 @@ month, day, hour, minute, second, and year.
.It Fl W
Display whiteouts when scanning directories.
.It Fl Z
-Display each file's LOMAC level.
+Display each file's MAC label.
.It Fl a
Include directory entries whose names begin with a
dot
@@ -303,7 +303,7 @@ option is given, the following information
is displayed for each file:
file mode,
number of links, owner name, group name,
-LOMAC level,
+MAC label,
number of bytes in the file, abbreviated
month, day-of-month file was last modified,
hour file last modified, minute file last
@@ -618,11 +618,6 @@ The group field is now automatically included in the long listing for
files in order to be compatible with the
.St -p1003.2
specification.
-.Sh FILES
-.Bl -tag -width ".Pa /dev/lomac" -compact
-.It Pa /dev/lomac
-interface used to query the
-.Xr lomac 4
KLD
.El
.Sh SEE ALSO
@@ -630,7 +625,6 @@ KLD
.Xr chmod 1 ,
.Xr sort 1 ,
.Xr xterm 1 ,
-.Xr lomac 4 ,
.Xr termcap 5 ,
.Xr symlink 7 ,
.Xr sticky 8
OpenPOWER on IntegriCloud