函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:avc_xperms_allow_perm

函数原型:static void avc_xperms_allow_perm(struct avc_xperms_node *xp_node, u8 driver, u8 perm)

返回类型:void

参数:

类型参数名称
struct avc_xperms_node *xp_node
u8driver
u8perm
218  security_xperm_set(p, driver)
219  xpd等于sing a linked list for extended_perms_decision lookup because the list is* always small. i.e. less than 5, typically 1
220  如果xpdallowedsecurity_xperm_set(p, perm)
调用者
名称描述
avc_update_nodeavc_update_node Update an AVC entry*@event : Updating event*@perms : Permission mask bits*@ssid,@tsid,@tclass : identifier of an AVC entry*@seqno : sequence number when decision was made*@xpd: extended_perms_decision to be added to the node