函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\device_cgroup.c Create Date:2022-07-27 21:51:42
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:task_devcgroup

函数原型:static inline struct dev_cgroup *task_devcgroup(struct task_struct *task)

返回类型:struct dev_cgroup

参数:

类型参数名称
struct task_struct *task
53  返回:css_to_devcgroup(循环获得css)
调用者
名称描述
__devcgroup_check_permission__devcgroup_check_permission - checks if an inode operation is permitted*@dev_cgroup: the dev cgroup to be tested against*@type: device type*@major: device major number*@minor: device minor number*@access: combination of DEVCG_ACC_WRITE, DEVCG_ACC_READ