Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:alled under devcgroup_mutex

Proto:static void dev_exception_rm(struct dev_cgroup *dev_cgroup, struct dev_exception_item *ex)

Type:void

Parameter:

TypeParameterName
struct dev_cgroup *dev_cgroup
struct dev_exception_item *ex
122  lockdep_assert_held( & devcgroup_mutex)
125  If type != type Then Continue
127  If major != major Then Continue
129  If minor != minor Then Continue
132  access &= ~access
133  If Not access Then
134  list_del_rcu - deletes entry from list without re-initialization*@entry: the element to delete from the list
135  kfree_rcu() - kfree an object after a grace period(walk, rcu)
Caller
NameDescribe
revalidate_active_exceptionsvalidate_active_exceptions - walks through the active exception list and* revalidates the exceptions based on parent's* behavior and exceptions
propagate_exceptionpropagate_exception - propagates a new exception to the children*@devcg_root: device cgroup that added a new exception*@ex: new exception to be propagated* returns: 0 in case of success, != 0 in case of error
devcgroup_update_accessModify the exception list using allow/deny rules