函数逻辑报告 |
Source Code:security\selinux\hooks.c |
Create Date:2022-07-27 20:28:32 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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
函数原型:static int selinux_vm_enough_memory(struct mm_struct *mm, long pages)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct mm_struct * | mm | |
long | pages |
2249 | cap_sys_admin等于0 |
2253 | 如果rc恒等于0则cap_sys_admin等于1 |
2256 | 返回:cap_sys_admin |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |