函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:avc_flush - Flush the cache

函数原型:static void avc_flush(struct selinux_avc *avc)

返回类型:void

参数:

类型参数名称
struct selinux_avc *avc
943 i小于AVC_CACHE_SLOTS循环
944  head等于 head for avc_node->list [i]
945  lock等于 lock for writes [i]
947  spin_lock_irqsave(lock, flag)
952  _read_lock() - mark the beginning of an RCU read-side critical section* When synchronize_rcu() is invoked on one CPU while other CPUs* are within RCU read-side critical sections, then the* synchronize_rcu() is guaranteed to block until after all the other
953  hlist_for_each_entry - iterate over list of given type*@pos: the type * to use as a loop cursor.*@head: the head for your list.*@member: the name of the hlist_node within the struct.(node, head, list)
954  avc_node_delete(avc, node)
955  _read_unlock() - marks the end of an RCU read-side critical section.* In most situations, rcu_read_unlock() is immune from deadlock.* However, in kernels built with CONFIG_RCU_BOOST, rcu_read_unlock()
956  spin_unlock_irqrestore(lock, flag)
调用者
名称描述
avc_ss_resetavc_ss_reset - Flush the cache and revalidate migrated permissions.*@seqno: policy sequence number
avc_disable