函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:avc_xperms_audit

函数原型:static inline int avc_xperms_audit(struct selinux_state *state, unsigned int ssid, unsigned int tsid, u16 tclass, unsigned int requested, struct av_decision *avd, struct extended_perms_decision *xpd, u8 perm, int result, struct common_audit_data *ad)

返回类型:int

参数:

类型参数名称
struct selinux_state *state
unsigned intssid
unsigned inttsid
u16tclass
unsigned intrequested
struct av_decision *avd
struct extended_perms_decision *xpd
u8perm
intresult
struct common_audit_data *ad
422  audited等于avc_xperms_audit_required(requested, avd, xpd, perm, result, & denied)
424  如果此条件成立可能性大(为编译器优化)(!audited)则返回:0
426  返回:This is the slow part of avc audit with big stack footprint
调用者
名称描述
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