Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\device_cgroup.c Create Date:2022-07-28 19:55:50
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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

Proto:static inline int may_allow_all(struct dev_cgroup *parent)

Type:int

Parameter:

TypeParameterName
struct dev_cgroup *parent
496  If Not parent Then Return 1
498  Return behavior == DEVCG_DEFAULT_ALLOW
Caller
NameDescribe
devcgroup_update_accessModify the exception list using allow/deny rules