freecon(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
avc_context_to_sid(3),
get_ordered_context_list(3),
getcon(3),
getexeccon(3),
getfilecon(3),
matchmediacon(3),
matchpathcon(3),
matchpathcon_checkmatches(3),
selabel_lookup(3),
selinux_file_context_verify(3),
selinux_lsetfilecon_default(3),
selinux_set_callback(3),
set_matchpathcon_printf(3),
setfilecon(3),
setfscreatecon(3),
setkeycreatecon(3),
setsockcreatecon(3)