Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\apparmor\label.c Create Date:2022-07-28 19:54:24
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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

Proto:bool aa_label_remove(struct aa_label *label)

Type:bool

Parameter:

TypeParameterName
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  Return res
Caller
NameDescribe
label_free_rcu