函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__aa_fs_remove_rawdata

函数原型:void __aa_fs_remove_rawdata(struct aa_loaddata *rawdata)

返回类型:void

参数:

类型参数名称
struct aa_loaddata *rawdata
1448  AA_BUG(ns && !是互斥锁)
1450  如果ns
1451  remove_rawdata_dents(rawdata)
1452  删除链表项并重新初始化
1453  aa_put_ns - decrement refcount on @ns*@ns: namespace to put reference of* Decrement reference count of @ns and if no longer in use free it
1454  ns = NULL
调用者
名称描述
__aa_fs_list_remove_rawdata
do_loaddata_freed to take the ns mutex lock which is NOT safe most places that* put_loaddata is called, so we have to delay freeing it