Trusted Solaris Developer's Guide

Allocate and Free Space

The t6alloc_blk(3NSL) routine creates a security attribute structure with enough space allocated for the security attributes specified in new_attrs. The t6free_blk(3NSL) routine frees the space allocated for the security attribute structure t6ctl.

t6attr_t t6alloc_blk(t6mask_t mask);
void t6free_blk(t6attr_t t6ctl);