Mdoc markup and language fixes.

Submitted by:	ru
Approved by:	re (jhb)
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
This commit is contained in:
Robert Watson 2002-12-03 15:19:15 +00:00
parent df9bd3e90c
commit 214adc07e1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=107550
2 changed files with 14 additions and 9 deletions

View File

@ -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.

View File

@ -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);
}