Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:aa_labelset_destroy - remove all labels from the label set*@ls: label set to cleanup (NOT NULL)* Labels that are removed from the set may still exist beyond the set* being destroyed depending on their reference counting

Proto:void aa_labelset_destroy(struct aa_labelset *ls)

Type:void

Parameter:

TypeParameterName
struct aa_labelset *ls
1957  AA_BUG(!ls)
1959  write_lock_irqsave( & lock, flags)
1960  When node cycle
1961  this = rb_entry(node, structaa_label, node)
1963  If labels_ns(this) != profile namespace Then __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
1966  Else __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
1969  write_unlock_irqrestore( & lock, flags)