函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:similar to avc_copy_xperms_decision, but only copy decision* information relevant to this perm

函数原型:static inline void avc_quick_copy_xperms_decision(u8 perm, struct extended_perms_decision *dest, struct extended_perms_decision *src)

返回类型:void

参数:

类型参数名称
u8perm
struct extended_perms_decision *dest
struct extended_perms_decision *src
280  i等于perm右移5位
282  used等于used
283  如果used按位与XPERMS_ALLOWEDp[i]等于p[i]
285  如果used按位与XPERMS_AUDITALLOWp[i]等于p[i]
287  如果used按位与XPERMS_DONTAUDITp[i]等于p[i]
调用者
名称描述
avc_has_extended_permsThe avc extended permissions logic adds an additional 256 bits of* permissions to an avc node when extended permissions for that node are* specified in the avtab