diff options
| author | Robert Watson <rwatson@FreeBSD.org> | 2003-11-16 04:32:46 +0000 |
|---|---|---|
| committer | Robert Watson <rwatson@FreeBSD.org> | 2003-11-16 04:32:46 +0000 |
| commit | 5859b37843fe0e67b408027f966022e1e2ba29c1 (patch) | |
| tree | afee6de8f05d981bf00430a0db5abd9983760761 /lib/libc | |
| parent | 607e2cc177baa6937b27e0d0961582beba59b91e (diff) | |
Notes
Diffstat (limited to 'lib/libc')
| -rw-r--r-- | lib/libc/posix1e/mac_text.3 | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/lib/libc/posix1e/mac_text.3 b/lib/libc/posix1e/mac_text.3 index 56208d207c2b..f6a04af031fa 100644 --- a/lib/libc/posix1e/mac_text.3 +++ b/lib/libc/posix1e/mac_text.3 @@ -54,7 +54,7 @@ into the internal policy label format and places it in .Fa *mac , which must later be freed with -.Xr mac_free 3 . +.Xr free 3 . .Pp The .Fn mac_to_text @@ -72,6 +72,19 @@ for the MAC label format. POSIX.1e does not define a format for text representations of MAC labels. +.Pp +POSIX.1e requires that text strings allocated using +.Fn mac_to_text +be freed using +.Xr mac_free 3 ; +in the +.Fx +implementation, they must be freed using +.Xr free 3 , +as +.Xr mac_free 3 +is used only to free memory used for type +.Dv mac_t . .Sh ERRORS .Bl -tag -width Er .It Bq Er ENOMEM @@ -79,8 +92,8 @@ Insufficient memory was available to allocate internal storage. .El .Sh SEE ALSO +.Xr free 3 , .Xr mac 3 , -.Xr mac_free 3 , .Xr mac_get 3 , .Xr mac_is_present_np 3 , .Xr mac_prepare 3 , |
