| Function report | 
| Source Code: security\smack\smack_lsm.c | Create Date:2022-07-28 19:19:55 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:smack_add_opt
Proto:static int smack_add_opt(int token, const char *s, void **mnt_opts)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| int | token | |
| const char * | s | |
| void ** | mnt_opts | 
| 590 | If Not opts Then | 
| 600 | Case token == Opt_fsdefault | 
| 605 | Case token == Opt_fsfloor | 
| 615 | Case token == Opt_fsroot | 
| 620 | Case token == Opt_fstransmute | 
| 626 | Return 0 | 
| 628 | out_opt_err : | 
| 629 | pr_warn("Smack: duplicate mount options\n") | 
| 630 | Return -EINVAL | 
| Name | Describe | 
|---|---|
| smack_fs_context_parse_param | smack_fs_context_parse_param - Parse a single mount parameter*@fc: The new filesystem context being constructed.*@param: The parameter.* Returns 0 on success, -ENOPARAM to pass the parameter on or anything else on* error. | 
| smack_sb_eat_lsm_opts | 
| 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 |