函数逻辑报告 |
Source Code:security\security.c |
Create Date:2022-07-27 20:12:41 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:security_vm_enough_memory_mm
函数原型:int security_vm_enough_memory_mm(struct mm_struct *mm, long pages)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct mm_struct * | mm | |
long | pages |
755 | cap_sys_admin等于1 |
766 | rc等于vm_enough_memory(mm, pages) |
767 | 如果rc小于等于0则 |
768 | cap_sys_admin等于0 |
769 | 退出 |
名称 | 描述 |
---|---|
acct_stack_growth | Verify that the stack growth is acceptable and* update accounting. This is shared with both the |
do_brk_flags | his is really a simplified "do_mmap". it only handles* anonymous maps. eventually we may be able to do some* brk-specific accounting here. |
insert_vm_struct | Insert vm structure into process list sorted by address* and into the inode's i_mmap tree. If vm_file is non-NULL* then i_mmap_rwsem is taken here. |
mprotect_fixup | |
vma_to_resize | |
SYSCALL_DEFINE1 | |
__frontswap_unuse_pages | |
dup_mmap | |
mmap_region |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |