mac_demld(3C)

mac_demld - unset the moldiness of a MAC label

As shipped in IRIX 6.5. First release of IRIX 6.5.

NAME
     mac_demld - unset the moldiness of a MAC label

SYNOPSIS
     #include <sys/mac_label.h>

     mac_t mac_demld (mac_t lp);

DESCRIPTION
     mac_demld returns a copy of the MAC label pointed by lp, unsetting the
     moldy status of the copy if appropriate.

RETURN VALUE
     mac_demld returns a pointer to an allocated mac_t if successful, NULL
     otherwise.  The storage should be freed with a call to mac_free with the
     returned pointer as an argument when it is no longer needed.

SEE ALSO
     mac_is_moldy(3C)
     mac_set_moldy(3C)

NOTE
     This is a non-POSIX interface, and may not be supported in future
     releases of Trusted IRIX.