Function report |
Source Code:security\selinux\hooks.c |
Create Date:2022-07-28 18:56:33 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:selinux_sb_eat_lsm_opts
Proto:static int selinux_sb_eat_lsm_opts(char *options, void **mnt_opts)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
char * | options | |
void ** | mnt_opts |
2622 | bool first = true |
2625 | When 1 cycle |
2628 | char * arg = NULL |
2630 | token = match_opt_prefix(from, len, & arg) |
2636 | If arg Then |
2643 | If Not arg Then |
2648 | rc = selinux_add_opt(token, arg, mnt_opts) |
2649 | If Value for the false possibility is greater at compile time(rc) Then |
2653 | Else |
2667 | to = '\0' |
2668 | Return 0 |
2670 | free_opt : |
2671 | If mnt_opts Then |
2672 | selinux_free_mnt_opts( * mnt_opts) |
2673 | * mnt_opts = NULL |
2675 | 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 |