diff options
author | csjp <csjp@FreeBSD.org> | 2004-11-18 15:24:47 +0000 |
---|---|---|
committer | csjp <csjp@FreeBSD.org> | 2004-11-18 15:24:47 +0000 |
commit | 6f4de0921647bcd03322281732aa5797d299bbda (patch) | |
tree | 0c031c918266126c591bcae5f930e191de17b470 /lib/libc | |
parent | e424635fead28326215b8fe9170104a77977880d (diff) | |
download | FreeBSD-src-6f4de0921647bcd03322281732aa5797d299bbda.zip FreeBSD-src-6f4de0921647bcd03322281732aa5797d299bbda.tar.gz |
-Add a note that currently two syntax styles for label element declaration
is supported.
-Document the new more preferred syntax
-Add examples for the new syntax
-Add a note that the old syntax will be deprecated in the future.
Reviewed by: rwatson
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/posix1e/mac.conf.5 | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/lib/libc/posix1e/mac.conf.5 b/lib/libc/posix1e/mac.conf.5 index 4fa58ae..599e6a8 100644 --- a/lib/libc/posix1e/mac.conf.5 +++ b/lib/libc/posix1e/mac.conf.5 @@ -45,12 +45,18 @@ in addition to blank lines and comments preceded by a .Ql # symbol. .Pp -Each declaration consists of a single line with two fields separated -by white space: the object class name, and a list of label elements -as used by the +Currently, the implementation supports two syntax styles for label +element declaration. The old (deprecated) syntax consists of a +single line with two fields separated by white space: the object +class name, and a list of label elements as used by the .Xr mac_prepare 3 library calls prior to an application invocation of a function from .Xr mac_get 3 . +.Pp +The newer more preferred syntax consists of three fields separated by +white space: the label group, object class name and a list of +label elements. +.Pp Label element names may optionally begin with a .Ql \&? symbol to indicate that a failure to retrieve the label element for @@ -67,7 +73,14 @@ and .Bd -literal -offset indent # # Default label set to be used by simple MAC applications + +default_labels file ?biba,?lomac,?mls,?sebsd +default_labels ifnet ?biba,?lomac,?mls,?sebsd +default_labels process ?biba,?lomac,?mls,?partition,?sebsd +default_labels socket ?biba,?lomac,?mls + # +# Deprecated (old) syntax default_file_labels ?biba,?mls,?sebsd default_ifnet_labels ?biba,?mls,?sebsd |