Index: setfmac.8 =================================================================== RCS file: /home/ncvs/src/usr.sbin/setfmac/setfmac.8,v retrieving revision 1.3 diff -u -r1.3 setfmac.8 --- setfmac.8 2 Dec 2002 03:22:57 -0000 1.3 +++ setfmac.8 3 Dec 2002 14:03:09 -0000 @@ -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 @@ 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 +as 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. Index: setfmac.c =================================================================== RCS file: /home/ncvs/src/usr.sbin/setfmac/setfmac.c,v retrieving revision 1.4 diff -u -r1.4 setfmac.c --- setfmac.c 2 Dec 2002 13:26:16 -0000 1.4 +++ setfmac.c 3 Dec 2002 14:03:09 -0000 @@ -180,9 +180,9 @@ { 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); }