GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
MAC_FREE(3) FreeBSD Library Functions Manual MAC_FREE(3)

mac_free
free MAC label

Standard C Library (libc, -lc)

#include <sys/mac.h>

int
mac_free(mac_t label);

The mac_free() function frees the storage allocated to contain a mac_t.

The mac_free() function always returns 0. WARNING: see the notes in the BUGS section regarding the use of this function.

mac(3), mac_get(3), mac_prepare(3), mac_set(3), mac_text(3), posix1e(3), mac(4), mac(9)

POSIX.1e is described in IEEE POSIX.1e draft 17. Discussion of the draft continues on the cross-platform POSIX.1e implementation mailing list. To join this list, see the FreeBSD POSIX.1e implementation page for more information.

Support for Mandatory Access Control was introduced in FreeBSD 5.0 as part of the TrustedBSD Project.

POSIX.1e specifies that mac_free() will be used to free text strings created using mac_to_text(3). Because mac_t is a complex structure in the TrustedBSD implementation, mac_free() is specific to mac_3, and must not be used to free the character strings returned from mac_to_text(). Doing so may result in undefined behavior.
December 21, 2001 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.