summaryrefslogtreecommitdiffstats
path: root/share/man/man4/mac.4
diff options
context:
space:
mode:
authorchris <chris@FreeBSD.org>2003-02-16 00:57:48 +0000
committerchris <chris@FreeBSD.org>2003-02-16 00:57:48 +0000
commit8ce1605e5f725e12f107475d2868cdb7c154cbb7 (patch)
treece804b2a2ce78dd3fa416107198b36a1595d2265 /share/man/man4/mac.4
parent246f07880283aa319f95e687a6a51aab1bb36f10 (diff)
downloadFreeBSD-src-8ce1605e5f725e12f107475d2868cdb7c154cbb7.zip
FreeBSD-src-8ce1605e5f725e12f107475d2868cdb7c154cbb7.tar.gz
Include a section about enabling MAC on UFS2 file systems. UFS1 is
a bit more challenging and will be added later. Sponsored by: DARPA, Network Associates Laboratories
Diffstat (limited to 'share/man/man4/mac.4')
-rw-r--r--share/man/man4/mac.428
1 files changed, 28 insertions, 0 deletions
diff --git a/share/man/man4/mac.4 b/share/man/man4/mac.4
index 480a5f8..797c48b 100644
--- a/share/man/man4/mac.4
+++ b/share/man/man4/mac.4
@@ -60,6 +60,34 @@ Currently, the following MAC policy modules are shipped with
.It Xr mac_seeotheruids 4 Ta "See-other-UIDs policy" Ta no Ta any time
.It Xr mac_test 4 Ta "MAC testing policy" Ta no Ta any time
.El
+.Ss MAC Support for UFS2 File Systems
+By default, file system enforcement of MAC policies relies on a single file
+system label
+(see
+.Sx "MAC Labels" )
+in order to make access control decisions for all the files in a particular
+file system.
+On most systems, this is not the most desirable configuration.
+In order to enable support for labeling files on an individual basis,
+the
+.Dq multilabel
+flag must be enabled on the file system.
+To set the
+.Dq multilabel
+flag, drop to single-user mode and unmount the file system,
+then execute the following command:
+.Pp
+.Dl "tunefs -l enable" Sy filesystem
+.Pp
+where
+.Sy filesystem
+is either the mount point
+(in
+.Xr fstab 5 )
+or the special file
+(in
+.Pa /dev )
+corresponding to the file system on which to enable multilabel support.
.Ss MAC Labels
Each system subject (processes, sockets, etc.) and each system object
(file system objects, sockets, etc.) can carry with it a MAC label.
OpenPOWER on IntegriCloud