diff options
author | rwatson <rwatson@FreeBSD.org> | 2003-04-20 04:43:56 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2003-04-20 04:43:56 +0000 |
commit | aa0532c271af7bd86baa9673653a0f7c3f27bbf8 (patch) | |
tree | d136b6ecf87f841c0d1f27ac6e7df8367dffa2cf /lib/libc | |
parent | 4b5c8b175773d037d7ef7063aa757dea8d0d620d (diff) | |
download | FreeBSD-src-aa0532c271af7bd86baa9673653a0f7c3f27bbf8.zip FreeBSD-src-aa0532c271af7bd86baa9673653a0f7c3f27bbf8.tar.gz |
Add FILES section to mac.3 and mac.conf.5. Properly Xref mac.conf.5
from mac.3; likewise, mac.conf.5 from mac_prepare.3.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/posix1e/mac.3 | 15 | ||||
-rw-r--r-- | lib/libc/posix1e/mac.conf.5 | 5 | ||||
-rw-r--r-- | lib/libc/posix1e/mac_prepare.3 | 3 |
3 files changed, 22 insertions, 1 deletions
diff --git a/lib/libc/posix1e/mac.3 b/lib/libc/posix1e/mac.3 index f82894e..64fb425 100644 --- a/lib/libc/posix1e/mac.3 +++ b/lib/libc/posix1e/mac.3 @@ -30,7 +30,7 @@ .\" .\" $FreeBSD$ .\" -.Dd December 21, 2001 +.Dd April 19, 2003 .Dt MAC 3 .Os .Sh NAME @@ -130,6 +130,18 @@ and may be used to convert a .Vt mac_t into a text-form MAC label. .El +The behavior of some of these calls is influenced by the configuration +settings found in +.Xr mac.conf 5 , +the MAC library run-time configuration file. +.Sh FILES +.Bl -tag -width ".Pa /etc/mac.conf" -compact +.It Pa /etc/mac.conf +MAC library configuration file, documented in +.Xr mac.conf 5 . +Provides default behavior for applications aware of MAC labels on +system objects, but without policy-specific knowledge. +.El .Sh IMPLEMENTATION NOTES .Fx Ns 's support for POSIX.1e interfaces and features @@ -142,6 +154,7 @@ is .Xr mac_set 3 , .Xr mac_text 3 , .Xr mac 4 , +.Xr mac.conf 5 , .Xr mac 9 .Sh STANDARDS These APIs are loosely based on the APIs described in POSIX.1e. diff --git a/lib/libc/posix1e/mac.conf.5 b/lib/libc/posix1e/mac.conf.5 index caef2ca..75013f4 100644 --- a/lib/libc/posix1e/mac.conf.5 +++ b/lib/libc/posix1e/mac.conf.5 @@ -79,6 +79,11 @@ MLS, and SEBSD labels for all object classes; for processes, they will additionally attempt to retrieve a Partition identifier. In all cases except the Partition identifier, failure to retrieve a label due to the respective policy not being present will be ignored. +.Sh FILES +.Bl -tag -width ".Pa /etc/mac.conf" -compact +.It Pa /etc/mac.conf +MAC library configuration file. +.El .Sh SEE ALSO .Xr mac_get 3 , .Xr mac_prepare 3 , diff --git a/lib/libc/posix1e/mac_prepare.3 b/lib/libc/posix1e/mac_prepare.3 index aebaeec..c7cc4d9 100644 --- a/lib/libc/posix1e/mac_prepare.3 +++ b/lib/libc/posix1e/mac_prepare.3 @@ -68,6 +68,8 @@ and .Fn mac_prepare_process_label functions allocate the storage to fit file, network interface, and process labels, respectively. +The default label elements employed by these APIs is configured in +.Xr mac.conf 5 . .Sh RETURN VALUES .Rv -std .Sh SEE ALSO @@ -77,6 +79,7 @@ and process labels, respectively. .Xr mac_is_present_np 3 , .Xr mac_set 3 , .Xr mac 4 , +.Xr mac.conf 5 , .Xr maclabel 7 .Sh STANDARDS POSIX.1e is described in IEEE POSIX.1e draft 17. |