Function report |
Source Code:security\tomoyo\memory.c |
Create Date:2022-07-28 19:43:50 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:moyo_warn_oom - Print out of memory warning message.*@function: Function's name.
Proto:void tomoyo_warn_oom(const char *function)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const char * | function |
| 23 | If tomoyo_last_pid != pid Then |
| 25 | tomoyo_last_pid = pid |
| 27 | If Not External variable definitions. ********* Then panic - halt the system*@fmt: The text string to print* Display a message, then perform cleanups.* This function never returns. |
| Name | Describe |
|---|---|
| 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 |
| 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 |