summaryrefslogtreecommitdiffstats
path: root/usr.sbin/setfmac/Makefile
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2002-12-02 03:22:57 +0000
committerrwatson <rwatson@FreeBSD.org>2002-12-02 03:22:57 +0000
commit4af26db23aa536ce300778fff12649469e43dadc (patch)
tree7b74406a0401819ee806eb2cdb6b8c41a8c1c4a7 /usr.sbin/setfmac/Makefile
parent88a7954786b4e5545bc8a616e88cb42ee217e725 (diff)
downloadFreeBSD-src-4af26db23aa536ce300778fff12649469e43dadc.zip
FreeBSD-src-4af26db23aa536ce300778fff12649469e43dadc.tar.gz
Add support for -R for file relabel operations.
Add 'setfsmac' link, which permits labels to be provided in a label specification file, making it easier to provide initial file system labeling specifications. This is used by the new mac_lomac to provide initial system labeling and policy, and by sebsd, the port of SELinux FLASK/TE to FreeBSD. Approved by: re (jhb) Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
Diffstat (limited to 'usr.sbin/setfmac/Makefile')
-rw-r--r--usr.sbin/setfmac/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.sbin/setfmac/Makefile b/usr.sbin/setfmac/Makefile
index d991e98..e7171f7 100644
--- a/usr.sbin/setfmac/Makefile
+++ b/usr.sbin/setfmac/Makefile
@@ -4,6 +4,10 @@ PROG= setfmac
MAN= setfmac.8
SRCS= setfmac.c
+LINKS+= ${BINDIR}/setfmac ${BINDIR}/setfsmac
+
+MLINKS+= setfmac.8 setfsmac.8
+
WARNS?= 2
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud