Function report |
Source Code:security\smack\smack_lsm.c |
Create Date:2022-07-28 19:19:49 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:smack_sb_alloc_security - allocate a superblock blob*@sb: the superblock getting the blob* Returns 0 on success or -ENOMEM on error.
Proto:static int smack_sb_alloc_security(struct super_block *sb)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct super_block * | sb |
543 | sbsp = 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). |
548 | smk_root = smack_known_floor |
549 | smk_default = smack_known_floor |
550 | smk_floor = smack_known_floor |
551 | smk_hat = smack_known_hat |
555 | s_security = sbsp |
557 | Return 0 |
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 |