Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 8 files:

Smatch caller information:

security/apparmor/ipc.c profile_signal_perm() -> aa_apply_modes_to_perms()

Type Parameter Key Value
PARAM_VALUE 0 profile 4096-ptr_max
PARAM_VALUE 0 profile->mode s64min-2,4-s64max
PARAM_VALUE 1 perms 8678448063599136768
DATA_SOURCE 0 profile $1
NOCHECK_CALL

security/apparmor/net.c aa_do_perms() -> aa_apply_modes_to_perms()

Type Parameter Key Value
PARAM_VALUE 0 profile 4096-ptr_max
PARAM_VALUE 1 perms 532756557635837952
DATA_SOURCE 0 profile $0
NOCHECK_CALL

security/apparmor/net.c aa_secmark_perm() -> aa_apply_modes_to_perms()

Type Parameter Key Value
PARAM_VALUE 0 profile 4096-ptr_max
PARAM_VALUE 1 perms 6061409853436461056
PARAM_VALUE 1 perms->allow 0,u32max
PARAM_VALUE 1 perms->audit 0,u32max
PARAM_VALUE 1 perms->complain 0
PARAM_VALUE 1 perms->deny 0,u32max
PARAM_VALUE 1 perms->kill 0
PARAM_VALUE 1 perms->prompt 0
PARAM_VALUE 1 perms->quiet 0
DATA_SOURCE 0 profile $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 rcu_read

security/apparmor/task.c aa_profile_ns_perm() -> aa_apply_modes_to_perms()

Type Parameter Key Value
PARAM_VALUE 0 profile 4096-ptr_max
PARAM_VALUE 0 profile->mode s64min-2,4-s64max
PARAM_VALUE 1 perms 3314452499782684672
DATA_SOURCE 0 profile $0
NOCHECK_CALL

security/apparmor/task.c profile_ptrace_perm() -> aa_apply_modes_to_perms()

Type Parameter Key Value
PARAM_VALUE 0 profile 4096-ptr_max
PARAM_VALUE 0 profile->mode s64min-2,4-s64max
PARAM_VALUE 1 perms 6626306062208851968
PARAM_VALUE 1 perms->allow u32max
PARAM_VALUE 1 perms->audit 0
PARAM_VALUE 1 perms->complain 0
PARAM_VALUE 1 perms->deny 0
PARAM_VALUE 1 perms->kill 0
PARAM_VALUE 1 perms->prompt 0
PARAM_VALUE 1 perms->quiet u32max
DATA_SOURCE 0 profile $1
NOCHECK_CALL
HALF_LOCKED2 rcu_read

security/apparmor/capability.c aa_profile_capget() -> aa_apply_modes_to_perms()

Type Parameter Key Value
PARAM_VALUE 0 profile 4096-ptr_max
PARAM_VALUE 1 perms 672656125424783360
DATA_SOURCE 0 profile $0
NOCHECK_CALL
LOCK2 rcu_read

security/apparmor/capability.c profile_capable() -> aa_apply_modes_to_perms()

Type Parameter Key Value
PARAM_VALUE 0 profile 4096-ptr_max
PARAM_VALUE 1 perms 2135442780886761472
DATA_SOURCE 0 profile $0
NOCHECK_CALL

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

Type Parameter Key Value
PARAM_VALUE 0 profile 4096-ptr_max
PARAM_VALUE 0 profile->mode s64min-2,4-s64max
PARAM_VALUE 1 perms 576442654493065216
DATA_SOURCE 0 profile $0
NOCHECK_CALL

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

Type Parameter Key Value
PARAM_VALUE 0 profile 4096-ptr_max
PARAM_VALUE 0 profile->mode s64min-2,4-s64max
PARAM_VALUE 1 perms 2101345858880139264
DATA_SOURCE 0 profile $0
NOCHECK_CALL

security/apparmor/mount.c match_mnt_path_str() -> aa_apply_modes_to_perms()

Type Parameter Key Value
PARAM_VALUE 0 profile 4096-ptr_max
PARAM_VALUE 1 perms 2718829550611259392
DATA_SOURCE 0 profile $0
NOCHECK_CALL

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

Type Parameter Key Value
PARAM_VALUE 0 profile 4096-ptr_max
PARAM_VALUE 1 perms 1831917560860700672
DATA_SOURCE 0 profile $0
NOCHECK_CALL

security/apparmor/domain.c label_components_match() -> aa_apply_modes_to_perms()

Type Parameter Key Value
PARAM_VALUE 0 profile 4096-ptr_max
PARAM_VALUE 0 profile->mode s64min-2,4-s64max
PARAM_VALUE 1 perms 6357128099996381184
CAPPED_DATA 0 profile->ns 1
DATA_SOURCE 0 profile $0
NOCHECK_CALL

security/apparmor/domain.c label_components_match() -> aa_apply_modes_to_perms()

Type Parameter Key Value
PARAM_VALUE 0 profile 4096-ptr_max
PARAM_VALUE 0 profile->mode s64min-2,4-s64max
PARAM_VALUE 1 perms 6357128099996381184
CAPPED_DATA 0 profile->ns 1
DATA_SOURCE 0 profile $0
NOCHECK_CALL

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

Type Parameter Key Value
PARAM_VALUE 0 profile 4096-ptr_max
PARAM_VALUE 0 profile->mode s64min-2,4-s64max
PARAM_VALUE 1 perms 4096-ptr_max
CAPPED_DATA 0 profile->ns 1
DATA_SOURCE 0 profile $0
DATA_SOURCE 1 perms $6
NOCHECK_CALL

security/apparmor/lsm.c profile_uring() -> aa_apply_modes_to_perms()

Type Parameter Key Value
PARAM_VALUE 0 profile 4096-ptr_max
PARAM_VALUE 1 perms 6329865071411904512
DATA_SOURCE 0 profile $0
NOCHECK_CALL