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:validate_active_exceptions - walks through the active exception list and* revalidates the exceptions based on parent's* behavior and exceptions

Proto:static void revalidate_active_exceptions(struct dev_cgroup *devcg)

Type:void

Parameter:

TypeParameterName
struct dev_cgroup *devcg
520  ex = container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(this, structdev_exception_item, list)
521  If Not parent_has_perm:* when adding a new allow rule to a device exception list, the rule* must be allowed in the parent device Then alled under devcgroup_mutex
Caller
NameDescribe
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