summaryrefslogtreecommitdiffstats
path: root/usr.sbin/setfmac/setfsmac.8
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2003-05-31 18:42:18 +0000
committerru <ru@FreeBSD.org>2003-05-31 18:42:18 +0000
commit59f9101dd0d02bb0f60782703330405d68dd8f1a (patch)
treeb24d221d27556ef8d2cb91d51374d26c4f35aaee /usr.sbin/setfmac/setfsmac.8
parent9cf498d30d9770953c1035b5136fc55ab0540129 (diff)
downloadFreeBSD-src-59f9101dd0d02bb0f60782703330405d68dd8f1a.zip
FreeBSD-src-59f9101dd0d02bb0f60782703330405d68dd8f1a.tar.gz
Mostly fixed the SYNOPSIS.
Diffstat (limited to 'usr.sbin/setfmac/setfsmac.8')
-rw-r--r--usr.sbin/setfmac/setfsmac.826
1 files changed, 14 insertions, 12 deletions
diff --git a/usr.sbin/setfmac/setfsmac.8 b/usr.sbin/setfmac/setfsmac.8
index 9c1289d..62dd494 100644
--- a/usr.sbin/setfmac/setfsmac.8
+++ b/usr.sbin/setfmac/setfsmac.8
@@ -1,12 +1,12 @@
.\" Copyright (c) 2003 Networks Associates Technology, Inc.
.\" All rights reserved.
-.\"
+.\"
.\" This software was developed for the FreeBSD Project by Chris Costello
.\" at Safeport Network Services and Network Associates Labs, the
.\" Security Research Division of Network Associates, Inc. under
.\" DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), as part of the
.\" DARPA CHATS research program.
-.\"
+.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
@@ -15,7 +15,7 @@
.\" 2. Redistributions in binary form must reproduce the above copyright
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
-.\"
+.\"
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -27,8 +27,9 @@
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
-.\"
+.\"
.\" $FreeBSD$
+.\"
.Dd March 13, 2003
.Os
.Dt SETFSMAC 8
@@ -38,15 +39,15 @@
.Sh SYNOPSIS
.Nm
.Op Fl ehvx
-.Op Fl f Ar specfile
-.Op Fl s Ar specfile
-.Ar path ...
+.Oo Fl f Ar specfile Oc ...
+.Oo Fl s Ar specfile Oc ...
+.Ar
.Sh DESCRIPTION
The
.Nm
utility accepts a list of specification files as input and sets the MAC
labels on the specified file system hierarchies.
-Path names specified will be visited in order as given in the command
+Path names specified will be visited in order as given on the command
line, and each tree will be traversed in pre-order.
(Generally, it will not be very useful to use relative paths instead of
absolute paths.)
@@ -86,11 +87,11 @@ NOTE: Only the first entry for each file is applied;
all others are disregarded and silently dropped.
.Ef
The prefix
-.Dq sebsd/
+.Dq Li sebsd/
will be automatically prepended to the labels in
.Ar specfile .
Labels matching
-.Dq <<none>>
+.Dq Li <<none>>
will be explicitly not relabeled.
This permits SEBSD to reuse existing SELinux policy specification files.
.It Fl v
@@ -99,7 +100,7 @@ Increase the degree of verbosity.
Do not recurse into new file systems when traversing them.
.El
.Sh FILES
-.Bl -tag -width /usr/share/security/lomac-policy.contexts -compact
+.Bl -tag -width ".Pa /usr/share/security/lomac-policy.contexts" -compact
.It Pa /usr/share/security/lomac-policy.contexts
Sample specfile containing LOMAC policy entries.
.El
@@ -111,7 +112,8 @@ This software was contributed to the
.Fx
Project by Network Associates Labs,
the Security Research Division of Network Associates
-Inc. under DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"),
+Inc. under DARPA/SPAWAR contract N66001-01-C-8035
+.Pq Dq CBOSS ,
as part of the DARPA CHATS research program.
.Sh SEE ALSO
.Xr mac 3 ,
OpenPOWER on IntegriCloud