freeconary(3) - Linux man page

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)

Referenced By

get_ordered_context_list(3)