Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:selinux_fs_info_create

Proto:static int selinux_fs_info_create(struct super_block *sb)

Type:int

Parameter:

TypeParameterName
struct super_block *sb
87  fsi = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc).
88  If Not fsi Then Return -ENOMEM
91  mutex_init - initialize the mutex*@mutex: the mutex to be initialized* Initialize the mutex to unlocked state.* It is not allowed to initialize an already locked mutex.( & mutex)
92  last_ino = The next inode number to use - 1
93  state = selinux_state
94  sb = sb
95  Filesystem private info = fsi
96  Return 0
Caller
NameDescribe
sel_fill_super