Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__proxy_share

Proto:static void __proxy_share(struct aa_label *old, struct aa_label *new)

Type:void

Parameter:

TypeParameterName
struct aa_label *old
struct aa_label *new
90  proxy = proxy
92  proxy = aa_get_proxy(proxy)
93  quires profile list write lock held
94  aa_put_proxy(proxy)
Caller
NameDescribe
__label_insert__label_insert - attempt to insert @l into a label set*@ls: set of labels to insert @l into (NOT NULL)*@label: new label to insert (NOT NULL)*@replace: whether insertion should replace existing entry that is not stale* Requires: @ls->lock* caller to hold
aa_label_replaceaa_label_replace - replace a label @old with a new version @new*@old: label to replace*@new: label replacing @old* Returns: true if @old was in tree and replaced* else @old was not in tree, and @new was not inserted