函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:may_allow_all - checks if it's possible to change the behavior to* allow based on parent's rules.*@parent: device cgroup's parent* returns: != 0 in case it's allowed, 0 otherwise

函数原型:static inline int may_allow_all(struct dev_cgroup *parent)

返回类型:int

参数:

类型参数名称
struct dev_cgroup *parent
496  如果非parent则返回:1
498  返回:behavior恒等于DEVCG_DEFAULT_ALLOW
调用者
名称描述
devcgroup_update_accessModify the exception list using allow/deny rules