Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:similar to avc_copy_xperms_decision, but only copy decision* information relevant to this perm

Proto:static inline void avc_quick_copy_xperms_decision(u8 perm, struct extended_perms_decision *dest, struct extended_perms_decision *src)

Type:void

Parameter:

TypeParameterName
u8perm
struct extended_perms_decision *dest
struct extended_perms_decision *src
280  i = perm >> 5
282  used = used
283  If used & XPERMS_ALLOWED Then p[i] = p[i]
285  If used & XPERMS_AUDITALLOW Then p[i] = p[i]
287  If used & XPERMS_DONTAUDIT Then p[i] = p[i]
Caller
NameDescribe
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