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/ipc.c RULE_MEDIATES() -> aa_dfa_match_len()

Type Parameter Key Value
PARAM_VALUE 3 len 1

security/apparmor/file.c RULE_MEDIATES() -> aa_dfa_match_len()

Type Parameter Key Value
PARAM_VALUE 3 len 1

security/apparmor/net.c RULE_MEDIATES() -> aa_dfa_match_len()

Type Parameter Key Value
PARAM_VALUE 3 len 1

security/apparmor/net.c aa_dfa_match_be16() -> aa_dfa_match_len()

Type Parameter Key Value
PARAM_VALUE 2 str 1742019140033294336
PARAM_VALUE 3 len 2
BUF_SIZE 2 str 2
DATA_SOURCE 0 dfa $0
DATA_SOURCE 1 start $1

security/apparmor/task.c RULE_MEDIATES() -> aa_dfa_match_len()

Type Parameter Key Value
PARAM_VALUE 3 len 1

security/apparmor/capability.c RULE_MEDIATES() -> aa_dfa_match_len()

Type Parameter Key Value
PARAM_VALUE 3 len 1
HALF_LOCKED2 rcu_read

security/apparmor/apparmorfs.c RULE_MEDIATES() -> aa_dfa_match_len()

Type Parameter Key Value
PARAM_VALUE 0 dfa 1-u64max
PARAM_VALUE 2 *str 33-255
PARAM_VALUE 3 len 1
USER_DATA 2 *str 33-255
USER_PTR 2 str

security/apparmor/apparmorfs.c profile_query_cb() -> aa_dfa_match_len()

Type Parameter Key Value
PARAM_VALUE 0 dfa 1-u64max
PARAM_VALUE 3 len (-1)-4070
CAPPED_DATA 3 len 1
USER_DATA 2 *str 0-255
USER_DATA 3 len (-1)-4070
USER_PTR 2 str

security/apparmor/apparmorfs.c profile_query_cb() -> aa_dfa_match_len()

Type Parameter Key Value
PARAM_VALUE 0 dfa 1-u64max
PARAM_VALUE 2 str 4096-ptr_max
PARAM_VALUE 3 len (-1)-4071
CAPPED_DATA 3 len 1
DATA_SOURCE 2 str $2
DATA_SOURCE 3 len $3
USER_DATA 2 *str 0-31,33-255
USER_DATA 3 len 0-4071[c][u]
USER_PTR 2 str

security/apparmor/policy.c RULE_MEDIATES() -> aa_dfa_match_len()

Type Parameter Key Value
PARAM_VALUE 2 *str 33-255
PARAM_VALUE 3 len 1

security/apparmor/mount.c RULE_MEDIATES() -> aa_dfa_match_len()

Type Parameter Key Value
PARAM_VALUE 3 len 1

security/apparmor/domain.c aa_xattrs_match() -> aa_dfa_match_len()

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

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

Type Parameter Key Value
PARAM_VALUE 2 str 5029807980415938560
PARAM_VALUE 3 len 1
BUF_SIZE 2 str 2
DATA_SOURCE 1 start $3 [m]
STR_LEN 0 dfa 1
TERMINATED 2 str 1

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

Type Parameter Key Value
PARAM_VALUE 0 dfa 4096-ptr_max
PARAM_VALUE 2 str 5029807980415938560
PARAM_VALUE 3 len 1
BUF_SIZE 2 str 2
DATA_SOURCE 1 start r aa_dfa_match
STR_LEN 0 dfa 1
TERMINATED 2 str 1

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

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

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

Type Parameter Key Value
PARAM_VALUE 0 dfa 4096-ptr_max
PARAM_VALUE 2 str 5029807980415938560
PARAM_VALUE 3 len 1
BUF_SIZE 2 str 2
DATA_SOURCE 1 start r aa_dfa_match
STR_LEN 0 dfa 1
TERMINATED 2 str 1

security/apparmor/af_inet.c RULE_MEDIATES() -> aa_dfa_match_len()

Type Parameter Key Value
PARAM_VALUE 3 len 1

security/apparmor/lsm.c RULE_MEDIATES() -> aa_dfa_match_len()

Type Parameter Key Value
PARAM_VALUE 3 len 1

security/apparmor/af_unix.c RULE_MEDIATES() -> aa_dfa_match_len()

Type Parameter Key Value
PARAM_VALUE 3 len 1

security/apparmor/af_unix.c match_addr() -> aa_dfa_match_len()

Type Parameter Key Value
PARAM_VALUE 1 start 1-u32max
BUF_SIZE 2 str 108
DATA_SOURCE 0 dfa $0
DATA_SOURCE 1 start $1
UNITS 3 len unit_byte

security/apparmor/af_unix.c match_addr() -> aa_dfa_match_len()

Type Parameter Key Value
PARAM_VALUE 1 start 1-u32max
PARAM_VALUE 2 str 8064991056506638336
PARAM_VALUE 3 len 1
BUF_SIZE 2 str 2
DATA_SOURCE 0 dfa $0
DATA_SOURCE 1 start $1
STR_LEN 0 dfa 1
TERMINATED 2 str 1

security/apparmor/af_unix.c match_to_cmd() -> aa_dfa_match_len()

Type Parameter Key Value
PARAM_VALUE 0 dfa 4096-ptr_max
PARAM_VALUE 1 start 1-u32max
PARAM_VALUE 2 *str 1-2,4
PARAM_VALUE 3 len 1
DATA_SOURCE 1 start r match_to_sk

security/apparmor/af_unix.c profile_listen_perm() -> aa_dfa_match_len()

Type Parameter Key Value
PARAM_VALUE 1 start 1-u32max
PARAM_VALUE 2 str 3214367209002700800
PARAM_VALUE 3 len 2
BUF_SIZE 2 str 2
DATA_SOURCE 1 start r match_to_cmd

security/apparmor/af_unix.c profile_opt_perm() -> aa_dfa_match_len()

Type Parameter Key Value
PARAM_VALUE 1 start 1-u32max
PARAM_VALUE 2 str 2775108596746014720
PARAM_VALUE 3 len 2
BUF_SIZE 2 str 2
DATA_SOURCE 1 start r match_to_cmd