mac_free man page on FreeBSD

Man page or keyword search:  
man Server   9747 pages
apropos Keyword Search (all sections)
Output format
FreeBSD logo
[printable version]

MAC_FREE(3)		 BSD Library Functions Manual		   MAC_FREE(3)

NAME
     mac_free — free MAC label

LIBRARY
     Standard C Library (libc, -lc)

SYNOPSIS
     #include <sys/mac.h>

     int
     mac_free(mac_t label);

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

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

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

STANDARDS
     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.

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

BUGS
     POSIX.1e specifies that mac_free() will be used to free text strings cre‐
     ated 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.

BSD			       December 21, 2001			   BSD
[top]

List of man pages available for FreeBSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
...................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net