| Function report | 
| Source Code: security\selinux\hooks.c | Create Date:2022-07-28 18:54:01 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:selinux_add_mnt_opt
Proto:static int selinux_add_mnt_opt(const char *option, const char *val, int len, void **mnt_opts)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| const char * | option | |
| const char * | val | |
| int | len | |
| void ** | mnt_opts | 
| 1054 | If token != Opt_seclabel Then | 
| 1056 | If Not val Then | 
| 1061 | rc = selinux_add_opt(token, val, mnt_opts) | 
| 1062 | If Value for the false possibility is greater at compile time(rc) Then | 
| 1066 | Return rc | 
| 1068 | free_opt : | 
| 1069 | If mnt_opts Then | 
| 1070 | selinux_free_mnt_opts( * mnt_opts) | 
| 1071 | * mnt_opts = NULL | 
| 1073 | Return rc | 
| 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 |