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
This commit is contained in:
Robert Watson 2003-04-20 04:43:56 +00:00
parent 7d040e3cc5
commit 8aa884cb01
3 changed files with 22 additions and 1 deletions

View File

@ -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.

View File

@ -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 ,

View File

@ -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.