函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__proxy_share

函数原型:static void __proxy_share(struct aa_label *old, struct aa_label *new)

返回类型:void

参数:

类型参数名称
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)
调用者
名称描述
__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