函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:aa_label_remove - remove a label from the labelset*@label: label to remove* Returns: true if @label was removed from the tree* else @label was not in tree so it could not be removed

函数原型:bool aa_label_remove(struct aa_label *label)

返回类型:bool

参数:

类型参数名称
struct aa_label *label
744  ls等于labels_set(label)
748  AA_BUG(!ls)
750  write_lock_irqsave( & lock, flags)
751  res等于__label_remove - remove @label from the label set*@l: label to remove*@new: label to redirect to* Requires: labels_set(@label)->lock write_lock* Returns: true if the label was in the tree and removed
752  write_unlock_irqrestore( & lock, flags)
754  返回:res
调用者
名称描述
label_free_rcu