Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/cgroup/cgroup.c __cgroup_procs_write() -> cgroup_attach_permissions()

Type Parameter Key Value
PARAM_VALUE 1 dst_cgrp 4096-ptr_max
PARAM_VALUE 1 dst_cgrp->self.flags 2-u32max
PARAM_VALUE 1 dst_cgrp->self.refcnt.percpu_count_ptr 1-u64max
BUF_SIZE 0 src_cgrp (-1)-0,8192
BUF_SIZE 0 src_cgrp (-1)-0,8192
BUF_SIZE 1 dst_cgrp 40,136,480,696,928,1128,1160,1392,1624,1848,8192
BUF_SIZE 1 dst_cgrp 40,136,480,696,928,1128,1160,1392,1624,1848,8192
DATA_SOURCE 0 src_cgrp r task_cgroup_from_root
DATA_SOURCE 1 dst_cgrp r cgroup_kn_lock_live
DATA_SOURCE 3 threadgroup $2
RX_PATH
TASK_NOT_RUNNING
UNITS 2 sb unit_byte
LOCK2 &of->mutex
LOCK2 global &cgroup_mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

kernel/cgroup/cgroup.c cgroup_css_set_fork() -> cgroup_attach_permissions()

Type Parameter Key Value
PARAM_VALUE 0 src_cgrp 4096-ptr_max
PARAM_VALUE 1 dst_cgrp 4096-ptr_max
PARAM_VALUE 1 dst_cgrp->procs_file.kn 4096-ptr_max
PARAM_VALUE 1 dst_cgrp->root 4096-ptr_max
PARAM_VALUE 1 dst_cgrp->self.flags 2-u32max
CAPPED_DATA 2 sb 1
DATA_SOURCE 1 dst_cgrp r cgroup_get_from_file
RX_PATH
TASK_NOT_RUNNING
USER_DATA 3 threadgroup 0-1
UNITS 2 sb unit_byte
LOCK2 global &cgroup_mutex