Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

security/selinux/ss/policydb.c genfs_read() -> ocontext_destroy()

Type Parameter Key Value
PARAM_VALUE 0 c 0,4096-ptr_max
PARAM_VALUE 0 c->context 4096-ptr_max
PARAM_VALUE 0 *c->u.name 0-255
PARAM_VALUE 1 i 5
BUF_SIZE 0 c 0,200
BUF_SIZE 0 c 0,200
NOCHECK_CALL
LOCK2 global &selinux_state.policy_mutex
TYPE_LOCK (struct selinux_state)->policy_mutex

security/selinux/ss/policydb.c policydb_destroy() -> ocontext_destroy()

Type Parameter Key Value
PARAM_VALUE 0 c 4096-ptr_max
PARAM_VALUE 1 i 0-8
FUZZY_MAX 1 i 8
HARD_MAX 1 i 8
NOCHECK_CALL
LOCK2 global &selinux_state.policy_mutex
TYPE_LOCK (struct selinux_state)->policy_mutex

security/selinux/ss/policydb.c policydb_destroy() -> ocontext_destroy()

Type Parameter Key Value
PARAM_VALUE 0 c 4096-ptr_max
PARAM_VALUE 1 i 5
NOCHECK_CALL
LOCK2 global &selinux_state.policy_mutex
TYPE_LOCK (struct selinux_state)->policy_mutex