Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__aa_fs_remove_rawdata

Proto:void __aa_fs_remove_rawdata(struct aa_loaddata *rawdata)

Type:void

Parameter:

TypeParameterName
struct aa_loaddata *rawdata
1448  AA_BUG(ns && !mutex_is_locked( & lock))
1450  If ns Then
1451  remove_rawdata_dents(rawdata)
1452  list_del_init - deletes entry from list and reinitialize it.*@entry: the element to delete from the list.
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
Caller
NameDescribe
__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