Function report |
Source Code:security\selinux\hooks.c |
Create Date:2022-07-28 18:55:57 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Check that a process has enough memory to allocate a new virtual* mapping. 0 means there is enough memory for the allocation to* succeed and -ENOMEM implies there is not.* Do not audit the selinux permission check, as this is applied to all
Proto:static int selinux_vm_enough_memory(struct mm_struct *mm, long pages)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct mm_struct * | mm | |
long | pages |
2249 | cap_sys_admin = 0 |
2253 | If rc == 0 Then cap_sys_admin = 1 |
2256 | Return cap_sys_admin |
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 |