summaryrefslogtreecommitdiffstats
path: root/usr.sbin/setfmac
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2002-12-03 15:19:15 +0000
committerrwatson <rwatson@FreeBSD.org>2002-12-03 15:19:15 +0000
commit6c498ea7c9d26f471903c50fd5767f7468cb59d8 (patch)
treeb9d7858de2bbe26faa14ff1da1a902a73e186603 /usr.sbin/setfmac
parent80d37f5b20040e5a41f839aad50519c5e0133ea6 (diff)
downloadFreeBSD-src-6c498ea7c9d26f471903c50fd5767f7468cb59d8.zip
FreeBSD-src-6c498ea7c9d26f471903c50fd5767f7468cb59d8.tar.gz
Mdoc markup and language fixes.
Submitted by: ru Approved by: re (jhb) Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
Diffstat (limited to 'usr.sbin/setfmac')
-rw-r--r--usr.sbin/setfmac/setfmac.819
-rw-r--r--usr.sbin/setfmac/setfmac.c4
2 files changed, 14 insertions, 9 deletions
diff --git a/usr.sbin/setfmac/setfmac.8 b/usr.sbin/setfmac/setfmac.8
index 62312e2..73db499 100644
--- a/usr.sbin/setfmac/setfmac.8
+++ b/usr.sbin/setfmac/setfmac.8
@@ -39,13 +39,12 @@
.Nm setfmac
.Op Fl hR
.Ar label
-.Op Ar file ...
+.Ar
.Nm setfsmac
.Op Fl ehvx
.Op Fl f Ar specfile
.Op Fl s Ar specfile
-.Ar path
-.Op Ar file ...
+.Ar
.Sh DESCRIPTION
The
.Nm setfmac
@@ -89,17 +88,23 @@ than the file that the link points to.
Add the specification in
.Ar specfile ,
but assume that the specification format is that used in the port
-of SELinux to FreeBSD as SEBSD.
+of
+.Tn SELinux
+to
+.Fx ,
+.Tn SEBSD.
At most one of the specifications will be applied to each file traversed per
.Fl f Ar specfile
given.
The prefix
-.Dq sebsd/
+.Dq Li sebsd/
will automatically be prepended to the labels in this file, and labels
matching
-.Dq <<none>>
+.Dq Li <<none>>
will be explicitly not relabeled.
-This permits SEBSD to re-use existing SELinux policy specification files
+This permits SEBSD to re-use existing
+.Tn SELinux
+policy specification files
unmodified.
.It Fl v
Increase the degree of verbosity.
diff --git a/usr.sbin/setfmac/setfmac.c b/usr.sbin/setfmac/setfmac.c
index d55c394..7fc2201 100644
--- a/usr.sbin/setfmac/setfmac.c
+++ b/usr.sbin/setfmac/setfmac.c
@@ -180,9 +180,9 @@ usage(int is_setfmac)
{
if (is_setfmac)
- fprintf(stderr, "usage: setfmac [-Rh] label path [...]\n");
+ fprintf(stderr, "usage: setfmac [-Rh] label file ...\n");
else
- fprintf(stderr, "usage: setfsmac [-evx] [-f specfile [...]] [-s specfile [...]] path [...]\n");
+ fprintf(stderr, "usage: setfsmac [-ehvx] [-f specfile [...]] [-s specfile [...]] file ...\n");
exit(1);
}
OpenPOWER on IntegriCloud