Function report |
Source Code:security\selinux\hooks.c |
Create Date:2022-07-28 18:53:57 |
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_opt
Proto:static int selinux_add_opt(int token, const char *s, void **mnt_opts)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
int | token | |
const char * | s | |
void ** | mnt_opts |
999 | If token == Opt_seclabel Then Return 0 |
1002 | If Not opts Then |
1011 | Case token == Opt_context |
1016 | Case token == Opt_fscontext |
1021 | Case token == Opt_rootcontext |
1026 | Case token == Opt_defcontext |
1032 | Return 0 |
1033 | Einval : |
1034 | pr_warn(SEL_MOUNT_FAIL_MSG) |
1035 | Return -EINVAL |
Name | Describe |
---|---|
selinux_add_mnt_opt | |
selinux_sb_eat_lsm_opts | |
selinux_fs_context_parse_param |
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 |