Function report |
Source Code:security\selinux\hooks.c |
Create Date:2022-07-28 19:03:18 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:selinux_init
Proto:static __init int selinux_init(void)
Type:int
Parameter:Nothing
7128 | pr_info("SELinux: Initializing.\n") |
7130 | memset( & selinux_state, 0, size of selinux_state ) |
7131 | enforcing_set( & selinux_state, selinux_enforcing_boot) |
7133 | selinux_ss_init( & ss) |
7134 | selinux_avc_init( & avc) |
7139 | default_noexec = Not (VM_DATA_DEFAULT_FLAGS & VM_EXEC) |
7143 | avtab_cache_init() |
7145 | ebitmap_cache_init() |
7147 | hashtab_cache_init() |
7157 | If selinux_enforcing_boot Then pr_debug("SELinux: Starting in enforcing mode\n") |
7159 | Else pr_debug("SELinux: Starting in permissive mode\n") |
7164 | 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 |