函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:avc_lookup - Look up an AVC entry.*@ssid: source security identifier*@tsid: target security identifier*@tclass: target security class* Look up an AVC entry that is valid for the* (@ssid, @tsid), interpreting the permissions* based on @tclass

函数原型:static struct avc_node *avc_lookup(struct selinux_avc *avc, unsigned int ssid, unsigned int tsid, u16 tclass)

返回类型:struct avc_node

参数:

类型参数名称
struct selinux_avc *avc
unsigned intssid
unsigned inttsid
u16tclass
561  avc_cache_stats_incr(lookups)
562  node等于avc_search_node(avc, ssid, tsid, tclass)
564  如果node则返回:node
567  avc_cache_stats_incr(misses)
568  返回:NULL
调用者
名称描述
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
avc_has_perm_noauditavc_has_perm_noaudit - Check permissions but perform no auditing