Function report |
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 activity | Download SCCT | Chinese |
Name:selinux_fs_info_create
Proto:static int selinux_fs_info_create(struct super_block *sb)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| 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). |
| 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 |
| 96 | Return 0 |
| Name | Describe |
|---|---|
| sel_fill_super |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |