Documented in 1 files:

Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

security/safesetid/securityfs.c handle_policy_update() -> insert_rule()

Type Parameter Key Value
PARAM_VALUE 0 pol 4096-ptr_max
PARAM_VALUE 0 pol->policy_str 4096-ptr_max
PARAM_VALUE 0 pol->rules 4096-ptr_max
PARAM_VALUE 0 pol->type 0-1
PARAM_VALUE 1 rule 4096-ptr_max
PARAM_VALUE 1 rule->type 0-1
BUF_SIZE 0 pol 2080
BUF_SIZE 1 rule 32
DATA_SOURCE 0 pol r _kmalloc_noprof
DATA_SOURCE 1 rule r _kmalloc_noprof
NOCHECK_CALL

security/safesetid/securityfs.c verify_ruleset() -> insert_rule()

Type Parameter Key Value
PARAM_VALUE 0 pol 4096-ptr_max
PARAM_VALUE 0 pol->policy_str 4096-ptr_max
PARAM_VALUE 0 pol->rules 4096-ptr_max
PARAM_VALUE 0 pol->type 0-1
PARAM_VALUE 1 rule 4096-ptr_max
PARAM_VALUE 1 rule->type 0-1
BUF_SIZE 0 pol 2080
BUF_SIZE 1 rule 32
DATA_SOURCE 0 pol $0
DATA_SOURCE 1 rule r _kmalloc_noprof
FUZZY_MAX 1 rule->type 1
HARD_MAX 1 rule->type 1
NOCHECK_CALL