From 6c498ea7c9d26f471903c50fd5767f7468cb59d8 Mon Sep 17 00:00:00 2001 From: rwatson Date: Tue, 3 Dec 2002 15:19:15 +0000 Subject: Mdoc markup and language fixes. Submitted by: ru Approved by: re (jhb) Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories --- usr.sbin/setfmac/setfmac.8 | 19 ++++++++++++------- usr.sbin/setfmac/setfmac.c | 4 ++-- 2 files changed, 14 insertions(+), 9 deletions(-) (limited to 'usr.sbin') 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 <> +.Dq Li <> 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); } -- cgit v1.1