Function report | 
Source Code:mm\mlock.c | 
Create Date:2022-07-28 14:45:18 | 
| Last Modify:2022-05-23 14:12:58 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:can_do_mlock
Proto:bool can_do_mlock(void)
Type:bool
Parameter:Nothing
| 31 | If rlimit(RLIMIT_MEMLOCK) != 0 Then Return true | 
| 33 | If Check operation authority Then Return true | 
| 35 | Return false | 
| Name | Describe | 
|---|---|
| do_mlock | |
| SYSCALL_DEFINE1 | |
| do_mmap | The caller must hold down_write(¤t->mm->mmap_sem). | 
| 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  |