Documented in 1 files:

Defined in 2 files as a function:

Referenced in 6 files:

Smatch caller information:

security/ipe/policy_parser.c ipe_free_parsed_policy() -> free_rule()

Type Parameter Key Value
PARAM_VALUE 0 rule 4096-ptr_max
CAPPED_DATA 0 &rule->next 1
NOCHECK_CALL
HALF_LOCKED2 &root->i_rwsem

security/ipe/policy_parser.c parse_rule() -> free_rule()

Type Parameter Key Value
PARAM_VALUE 0 rule 4096-ptr_max
PARAM_VALUE 0 rule->next.next 4096-ptr_max
PARAM_VALUE 0 rule->next.next->next 4096-ptr_max
PARAM_VALUE 0 rule->next.prev 4096-ptr_max
PARAM_VALUE 0 rule->next.prev->next 4096-ptr_max
PARAM_VALUE 0 rule->next.prev->prev 4096-ptr_max
PARAM_VALUE 0 rule->props.next 4096-ptr_max
PARAM_VALUE 0 rule->props.next->next 4096-ptr_max
PARAM_VALUE 0 rule->props.prev 4096-ptr_max
PARAM_VALUE 0 rule->props.prev->next 4096-ptr_max
PARAM_VALUE 0 rule->props.prev->prev 4096-ptr_max
BUF_SIZE 0 rule 40
CAPPED_DATA 0 &rule->props 1
DATA_SOURCE 0 rule r _kzalloc_noprof
PARAM_COMPARE 0 &rule->props == $0->props.next
NOCHECK_CALL
HALF_LOCKED2 &root->i_rwsem

security/ipe/policy_parser.c parse_rule() -> free_rule()

Type Parameter Key Value
PARAM_VALUE 0 rule 4096-ptr_max
PARAM_VALUE 0 rule->next.next 4096-ptr_max
PARAM_VALUE 0 rule->next.next->next 4096-ptr_max
PARAM_VALUE 0 rule->next.prev 4096-ptr_max
PARAM_VALUE 0 rule->next.prev->next 4096-ptr_max
PARAM_VALUE 0 rule->next.prev->prev 4096-ptr_max
PARAM_VALUE 0 rule->props.next 4096-ptr_max
PARAM_VALUE 0 rule->props.next->next 4096-ptr_max
PARAM_VALUE 0 rule->props.prev 4096-ptr_max
PARAM_VALUE 0 rule->props.prev->next 4096-ptr_max
PARAM_VALUE 0 rule->props.prev->prev 4096-ptr_max
BUF_SIZE 0 rule 40
CAPPED_DATA 0 &rule->props 1
DATA_SOURCE 0 rule r _kzalloc_noprof
NOCHECK_CALL
HALF_LOCKED2 &root->i_rwsem

security/landlock/ruleset.c landlock_free_rules() -> free_rule()

Type Parameter Key Value
PARAM_VALUE 0 rule 4096-ptr_max
PARAM_VALUE 1 key_type 1
NOCHECK_CALL

security/landlock/ruleset.c landlock_free_rules() -> free_rule()

Type Parameter Key Value
PARAM_VALUE 0 rule 4096-ptr_max
PARAM_VALUE 1 key_type 2
NOCHECK_CALL

security/landlock/ruleset.c landlock_store_rule() -> free_rule()

Type Parameter Key Value
PARAM_VALUE 0 rule 4096-ptr_max
PARAM_VALUE 0 rule->layers 4096-ptr_max
PARAM_VALUE 0 rule->node.rb_left 0,4096-ptr_max
PARAM_VALUE 0 rule->node.rb_left->__rb_parent_color 4096-18446744073709547521
PARAM_VALUE 0 rule->node.rb_right 0,4096-ptr_max
PARAM_VALUE 0 rule->node.rb_right->__rb_parent_color 4096-18446744073709547521
PARAM_VALUE 1 key_type 1-2
CAPPED_DATA 0 rule->key.data 1
CAPPED_DATA 0 &rule->node 1
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 rule->num_layers