函数逻辑报告 |
Source Code:security\tomoyo\memory.c |
Create Date:2022-07-27 21:12:41 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:moyo_warn_oom - Print out of memory warning message.*@function: Function's name.
函数原型:void tomoyo_warn_oom(const char *function)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| const char * | function |
| 23 | 如果tomoyo_last_pid不等于pid则 |
| 25 | tomoyo_last_pid等于pid |
| 27 | 如果非External variable definitions. *********则panic - halt the system*@fmt: The text string to print* Display a message, then perform cleanups.* This function never returns. |
| 名称 | 描述 |
|---|---|
| tomoyo_memory_ok | moyo_memory_ok - Check memory quota.*@ptr: Pointer to allocated memory.* Returns true on success, false otherwise.* Returns true if @ptr is not NULL and quota not exceeded, false otherwise.* Caller holds tomoyo_policy_lock mutex. |
| tomoyo_realpath_from_path | moyo_realpath_from_path - Returns realpath(3) of the given pathname but ignores chroot'ed root |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |