mac_free.3 (09a7f4484d7a112220b82744eb4dcf8740c7d78d) mac_free.3 (3a67af38ba24cdf225a521d181e278c8b98722b9)
1.\" Copyright (c) 2001, 2002 Networks Associates Technology, Inc.
2.\" All rights reserved.
3.\"
4.\" This software was developed for the FreeBSD Project by Chris
5.\" Costello at Safeport Network Services and NAI Labs, the Security
6.\" Research Division of Network Associates, Inc. under DARPA/SPAWAR
7.\" contract N66001-01-C-8035 ("CBOSS"), as part of the DARPA CHATS
8.\" research program.

--- 50 unchanged lines hidden (view full) ---

59section regarding the use of this
60function.
61.Sh SEE ALSO
62.Xr mac 3 ,
63.Xr mac_get 3 ,
64.Xr mac_prepare 3 ,
65.Xr mac_set 3 ,
66.Xr mac_text 3 ,
1.\" Copyright (c) 2001, 2002 Networks Associates Technology, Inc.
2.\" All rights reserved.
3.\"
4.\" This software was developed for the FreeBSD Project by Chris
5.\" Costello at Safeport Network Services and NAI Labs, the Security
6.\" Research Division of Network Associates, Inc. under DARPA/SPAWAR
7.\" contract N66001-01-C-8035 ("CBOSS"), as part of the DARPA CHATS
8.\" research program.

--- 50 unchanged lines hidden (view full) ---

59section regarding the use of this
60function.
61.Sh SEE ALSO
62.Xr mac 3 ,
63.Xr mac_get 3 ,
64.Xr mac_prepare 3 ,
65.Xr mac_set 3 ,
66.Xr mac_text 3 ,
67.Xr posix1e 3 ,
67.Xr mac 4 ,
68.Xr mac 9
69.Sh STANDARDS
70POSIX.1e is described in IEEE POSIX.1e draft 17.
71Discussion of the draft
72continues on the cross-platform POSIX.1e implementation mailing list.
73To join this list, see the
74.Fx

--- 11 unchanged lines hidden (view full) ---

86will be used to free text strings created using
87.Xr mac_to_text 3 .
88Because
89.Vt mac_t
90is a complex structure in the
91.Tn TrustedBSD
92implementation,
93.Fn mac_free
68.Xr mac 4 ,
69.Xr mac 9
70.Sh STANDARDS
71POSIX.1e is described in IEEE POSIX.1e draft 17.
72Discussion of the draft
73continues on the cross-platform POSIX.1e implementation mailing list.
74To join this list, see the
75.Fx

--- 11 unchanged lines hidden (view full) ---

87will be used to free text strings created using
88.Xr mac_to_text 3 .
89Because
90.Vt mac_t
91is a complex structure in the
92.Tn TrustedBSD
93implementation,
94.Fn mac_free
94is specific to that type, and must not be used to free the character
95strings returned from
95is specific to
96.Vt mac_3 ,
97and must not be used to free the character strings returned from
96.Fn mac_to_text .
98.Fn mac_to_text .
97Doing so may result in undefined behavior,
98including application failure.
99Doing so may result in undefined behavior.