Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\selinux\hooks.c Create Date:2022-07-28 18:53:01
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:inode_free_security

Proto:static void inode_free_security(struct inode *inode)

Type:void

Parameter:

TypeParameterName
struct inode *inode
334  isec = selinux_inode(inode)
337  If Not isec Then Return
339  sbsec = s_security
350  If Not list_empty_careful - tests whether a list is empty and not being modified*@head: the list to test* Description:* tests whether a list is empty _and_ checks that no other CPU might be* in the process of modifying either member (next or prev)* NOTE: using Then
351  spin_lock( & isec_lock)
352  list_del_init - deletes entry from list and reinitialize it.*@entry: the element to delete from the list.
353  spin_unlock( & isec_lock)
Caller
NameDescribe
selinux_inode_free_security