Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

security/apparmor/file.c update_file_ctx() -> aa_label_merge()

Type Parameter Key Value
PARAM_VALUE 1 b 4096-ptr_max
PARAM_VALUE 2 gfp 2080
CAPPED_DATA 1 b 1
DATA_SOURCE 1 b $1
BIT_INFO 1 b->flags 0x0,0xfffffffffffffffd
LOCK2 &fctx->lock
HALF_LOCKED2 &tty->files_lock
TYPE_LOCK (struct aa_file_ctx)->lock

security/apparmor/domain.c aa_change_profile() -> aa_label_merge()

Type Parameter Key Value
PARAM_VALUE 0 a 4096-ptr_max
PARAM_VALUE 0 a->vec 4096-ptr_max
PARAM_VALUE 1 b 1-ptr_max
PARAM_VALUE 2 gfp 3264
BUF_SIZE 1 b (-1),104
BUF_SIZE 1 b (-1),104
DATA_SOURCE 0 a r aa_get_current_label

security/apparmor/domain.c label_merge_wrap() -> aa_label_merge()

Type Parameter Key Value
PARAM_VALUE 0 a 4096-ptr_max
PARAM_VALUE 2 gfp 3264
BUF_SIZE 1 b (-1),104
BUF_SIZE 1 b (-1),104
CAPPED_DATA 1 b 1
DATA_SOURCE 0 a $0
DATA_SOURCE 1 b $1
DATA_SOURCE 2 gfp $2

security/apparmor/domain.c x_to_label() -> aa_label_merge()

Type Parameter Key Value
PARAM_VALUE 0 a 4096-ptr_max
PARAM_VALUE 1 b 1-ptr_max
PARAM_VALUE 2 gfp 3264
BUF_SIZE 0 a 104
BUF_SIZE 1 b (-1),104
BUF_SIZE 1 b (-1),104

security/apparmor/af_unix.c update_peer_ctx() -> aa_label_merge()

Type Parameter Key Value
PARAM_VALUE 1 b 4096-ptr_max
PARAM_VALUE 1 b->size (-2147483647)-s32max
PARAM_VALUE 2 gfp 2080
CAPPED_DATA 1 b 1
CAPPED_DATA 1 b->size 1
DATA_SOURCE 1 b $2

security/apparmor/af_unix.c update_sk_ctx() -> aa_label_merge()

Type Parameter Key Value
PARAM_VALUE 2 gfp 2080
DATA_SOURCE 1 b $1