函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:avc_has_perm_flags

函数原型:int avc_has_perm_flags(struct selinux_state *state, unsigned int ssid, unsigned int tsid, u16 tclass, unsigned int requested, struct common_audit_data *auditdata, int flags)

返回类型:int

参数:

类型参数名称
struct selinux_state *state
unsigned intssid
unsigned inttsid
u16tclass
unsigned intrequested
struct common_audit_data *auditdata
intflags
1200  rc等于avc_has_perm_noaudit - Check permissions but perform no auditing
1204  rc2等于avc_audit - Audit the granting or denial of permissions
1206  如果rc2则返回:rc2
1208  返回:rc
调用者
名称描述
selinux_inode_follow_link