Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

security/apparmor/domain.c may_change_ptraced_domain() -> aa_may_ptrace()

Type Parameter Key Value
PARAM_VALUE 0 tracer_cred 4096-ptr_max
PARAM_VALUE 0 tracer_cred->non_rcu 0
PARAM_VALUE 1 tracer 4096-ptr_max
PARAM_VALUE 2 tracee_cred 0,4096-ptr_max
PARAM_VALUE 3 tracee 0-ptr_max
PARAM_VALUE 4 request 2
BUF_SIZE 3 tracee (-1)-0,104
BUF_SIZE 3 tracee (-1)-0,104
CAPPED_DATA 3 tracee 1
DATA_SOURCE 1 tracer r aa_get_task_label
DATA_SOURCE 2 tracee_cred $0
DATA_SOURCE 3 tracee $1
BIT_INFO 1 tracer->flags 0x0,0xfffffffffffffffd
LOCK2 rcu_read

security/apparmor/lsm.c apparmor_ptrace_access_check() -> aa_may_ptrace()

Type Parameter Key Value
PARAM_VALUE 2 tracee_cred 4096-ptr_max
PARAM_VALUE 2 tracee_cred->non_rcu 0
PARAM_VALUE 4 request 2,4
DATA_SOURCE 1 tracer r __begin_current_label_crit_section
DATA_SOURCE 3 tracee r cred_label
FUZZY_MAX 4 request 4
BIT_INFO 4 request 0x0,0x6
HARD_MAX 4 request 4

security/apparmor/lsm.c apparmor_ptrace_traceme() -> aa_may_ptrace()

Type Parameter Key Value
PARAM_VALUE 0 tracer_cred 4096-ptr_max
PARAM_VALUE 0 tracer_cred->non_rcu 0
PARAM_VALUE 4 request 2
DATA_SOURCE 1 tracer r cred_label
DATA_SOURCE 3 tracee r __begin_current_label_crit_section