Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

security/apparmor/file.c aa_str_perms() -> aa_dfa_match()

Type Parameter Key Value
PARAM_VALUE 2 str 0
DATA_SOURCE 1 start $1
DATA_SOURCE 2 str $2

security/apparmor/mount.c build_pivotroot() -> aa_dfa_match()

Type Parameter Key Value
PARAM_VALUE 2 str 0
PARAM_VALUE 2 *str 0-255

security/apparmor/mount.c build_pivotroot() -> aa_dfa_match()

Type Parameter Key Value
PARAM_VALUE 0 dfa 4096-ptr_max
PARAM_VALUE 2 str 0
PARAM_VALUE 2 *str 0-255
DATA_SOURCE 1 start r aa_dfa_null_transition

security/apparmor/mount.c do_match_mnt() -> aa_dfa_match()

Type Parameter Key Value
PARAM_VALUE 2 str 0
DATA_SOURCE 1 start $1
DATA_SOURCE 2 str $2

security/apparmor/mount.c do_match_mnt() -> aa_dfa_match()

Type Parameter Key Value
PARAM_VALUE 0 dfa 4096-ptr_max
PARAM_VALUE 1 start 1-u32max
PARAM_VALUE 2 str 1-ptr_max
DATA_SOURCE 1 start r aa_dfa_null_transition
DATA_SOURCE 2 str $3

security/apparmor/mount.c do_match_mnt() -> aa_dfa_match()

Type Parameter Key Value
PARAM_VALUE 0 dfa 4096-ptr_max
PARAM_VALUE 1 start 1-u32max
PARAM_VALUE 2 str 1-u64max
DATA_SOURCE 1 start r aa_dfa_null_transition
DATA_SOURCE 2 str $4

security/apparmor/mount.c do_match_mnt() -> aa_dfa_match()

Type Parameter Key Value
PARAM_VALUE 0 dfa 4096-ptr_max
PARAM_VALUE 1 start 1-u32max
PARAM_VALUE 2 str 1-u64max
DATA_SOURCE 1 start r aa_dfa_null_transition
DATA_SOURCE 2 str $6

security/apparmor/mount.c profile_umount() -> aa_dfa_match()

Type Parameter Key Value
PARAM_VALUE 2 str 0
PARAM_VALUE 2 *str 0-255

security/apparmor/domain.c label_compound_match() -> aa_dfa_match()

Type Parameter Key Value
PARAM_VALUE 1 start 1-u32max
PARAM_VALUE 2 str 1689171272541253632
BUF_SIZE 2 str 4
DATA_SOURCE 1 start $3 [m]
STR_LEN 0 dfa 3
TERMINATED 2 str 1

security/apparmor/domain.c match_component() -> aa_dfa_match()

Type Parameter Key Value
PARAM_VALUE 2 str 1294470604202774528
BUF_SIZE 2 str 2
DATA_SOURCE 1 start $3
STR_LEN 0 dfa 1
TERMINATED 2 str 1

security/apparmor/domain.c match_component() -> aa_dfa_match()

Type Parameter Key Value
DATA_SOURCE 1 start $3 [m]

security/apparmor/domain.c match_component() -> aa_dfa_match()

Type Parameter Key Value
PARAM_VALUE 0 dfa 4096-ptr_max
BUF_SIZE 2 str (-1),4
BUF_SIZE 2 str (-1),4
DATA_SOURCE 1 start r aa_dfa_match_len
DATA_SOURCE 2 str r aa_ns_name

security/apparmor/domain.c match_component() -> aa_dfa_match()

Type Parameter Key Value
PARAM_VALUE 0 dfa 4096-ptr_max
DATA_SOURCE 1 start r aa_dfa_match_len

security/apparmor/label.c label_compound_match() -> aa_dfa_match()

Type Parameter Key Value
PARAM_VALUE 0 dfa 4096-ptr_max
PARAM_VALUE 1 start 1-u32max
PARAM_VALUE 2 str 1689171272541253632
BUF_SIZE 2 str 4
DATA_SOURCE 1 start r match_component
STR_LEN 0 dfa 3
TERMINATED 2 str 1

security/apparmor/label.c match_component() -> aa_dfa_match()

Type Parameter Key Value
DATA_SOURCE 1 start $3

security/apparmor/label.c match_component() -> aa_dfa_match()

Type Parameter Key Value
PARAM_VALUE 0 dfa 4096-ptr_max
DATA_SOURCE 1 start r aa_dfa_match_len
DATA_SOURCE 2 str r aa_ns_name

security/apparmor/label.c match_component() -> aa_dfa_match()

Type Parameter Key Value
PARAM_VALUE 0 dfa 4096-ptr_max
DATA_SOURCE 1 start r aa_dfa_match_len

security/apparmor/af_unix.c match_label() -> aa_dfa_match()

Type Parameter Key Value
PARAM_VALUE 1 start 1-u32max
DATA_SOURCE 1 start $2

security/apparmor/match.c leftmatch_fb() -> aa_dfa_match()

Type Parameter Key Value
PARAM_VALUE 0 dfa 4096-ptr_max
PARAM_VALUE 0 dfa->tables 4096-ptr_max
PARAM_VALUE 2 str 4097-u64max
CAPPED_DATA 1 start 1
DATA_SOURCE 0 dfa $0
DATA_SOURCE 2 str $2 [m]
LOCK2 rcu_read

security/apparmor/match.c leftmatch_fb() -> aa_dfa_match()

Type Parameter Key Value
PARAM_VALUE 0 dfa 4096-ptr_max
PARAM_VALUE 0 dfa->tables 4096-ptr_max
PARAM_VALUE 2 str 4097-u64max
CAPPED_DATA 1 start 1
DATA_SOURCE 0 dfa $0
DATA_SOURCE 2 str $2 [m]
LOCK2 rcu_read