Function report |
Source Code:security\commoncap.c |
Create Date:2022-07-28 18:37:27 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ap_mmap_addr - check if able to map given addr*@addr: address attempting to be mapped* If the process is attempting to map memory below dac_mmap_min_addr they need* CAP_SYS_RAWIO. The other parameters to this function are unused by the
Proto:int cap_mmap_addr(unsigned long addr)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned long | addr |
| 1322 | ret = 0 |
| 1324 | If addr < dac_mmap_min_addr Then |
| 1328 | If ret == 0 Then flags |= Used super-user privileges |
| 1331 | Return ret |
| 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 |