freecon

Section: SELinux API documentation (3)
Updated: 1 January 2004
Index Return to Main Contents
 

NAME

freecon, freeconary - free memory associated with SELinux security contexts.  

SYNOPSIS

#include <selinux/selinux.h>

void freecon(security_context_t con);

void freeconary(security_context_t *con);

 

DESCRIPTION

freecon frees the memory allocated for a security context.

freeconary frees the memory allocated for a context array.

If con is NULL, no operation is performed.

 

SEE ALSO

selinux(8)