Function report |
Source Code:security\selinux\avc.c |
Create Date:2022-07-28 18:42:58 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:avc_xperms_has_perm
Proto:static inline unsigned int avc_xperms_has_perm(struct extended_perms_decision *xpd, u8 perm, u8 which)
Type:unsigned int
Parameter:
Type | Parameter | Name |
---|---|---|
struct extended_perms_decision * | xpd | |
u8 | perm | |
u8 | which |
200 | rc = 0 |
202 | If which == XPERMS_ALLOWED && used & XPERMS_ALLOWED Then rc = security_xperm_test(p, perm) |
205 | Else if which == XPERMS_AUDITALLOW && used & XPERMS_AUDITALLOW Then rc = security_xperm_test(p, perm) |
208 | Else if which == XPERMS_DONTAUDIT && used & XPERMS_DONTAUDIT Then rc = security_xperm_test(p, perm) |
211 | Return rc |
Name | Describe |
---|---|
avc_xperms_audit_required | |
avc_has_extended_perms | The 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 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |