diff options
author | chris <chris@FreeBSD.org> | 2002-10-28 23:06:04 +0000 |
---|---|---|
committer | chris <chris@FreeBSD.org> | 2002-10-28 23:06:04 +0000 |
commit | 9970a15befff528c965af848e51a463e95266607 (patch) | |
tree | 69230c729932c79c02b3dd17c3f65d3c6c29dc96 /lib/libc | |
parent | 133b0e9c7d2b08fd630fbecb956ff6818c60c53a (diff) | |
download | FreeBSD-src-9970a15befff528c965af848e51a463e95266607.zip FreeBSD-src-9970a15befff528c965af848e51a463e95266607.tar.gz |
Scoop out examples illustrating the label text format and refer to
maclabel(7) instead.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Labs
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/posix1e/mac_text.3 | 56 |
1 files changed, 5 insertions, 51 deletions
diff --git a/lib/libc/posix1e/mac_text.3 b/lib/libc/posix1e/mac_text.3 index 46aec34..f46e675 100644 --- a/lib/libc/posix1e/mac_text.3 +++ b/lib/libc/posix1e/mac_text.3 @@ -63,49 +63,9 @@ and sets .Fa *len_p to the length of the returned string. .Pp -.Fx -uses the following format -for MAC policy text representations: -.Pp -.Dl Sy policy Ns No / Ns Sy qualifier -.Pp -Where -.Sy policy -can be one of -.Dq biba , -.Dq mls , -or -.Dq te . -.Pp -Valid labels can have the following arguments for -.Sy qualifier , -depending on the value of -.Sy policy . -.Bl -tag -width "Policy" -offset indent -.It Em Policy -.Em Qualifier -.It biba -.Dq high , -.Dq low , -.Dq equal , -or a numeric grade. -.It mls -.Dq high , -.Dq low , -.Dq equal , -or a numeric level. -.It te -Types for -.Dq te -consist of a type name which must -neither be empty nor exceed the length limit for the label. -.El -.Pp -All policies must be present -in a comma-separated list, -but may be in any order -(see -.Sx EXAMPLES ) . +Refer to +.Xr maclabel 7 +for the MAC label format. .Sh RETURN VALUES The .Fn mac_from_text @@ -130,13 +90,6 @@ upon success, and upon failure, setting .Va errno to indicate the error. -.Sh EXAMPLES -The following are valid MAC labels: -.Bd -literal -offset indent -biba/high,mls/low,te/none -biba/low,mls/low,te/none -biba/low,mls/3,te/none -.Ed .Sh COMPATIBILITY POSIX.1e does not define a text format for text representations @@ -158,7 +111,8 @@ to allocate internal storage. .Xr mac 3 , .Xr mac_free 3 , .Xr mac_get 3 , -.Xr mac_set 3 +.Xr mac_set 3 , +.Xr maclabel 7 .Sh STANDARDS POSIX.1e is described in IEEE POSIX.1e draft 17. Discussion of the draft |