Function report | 
Source Code:include\linux\mman.h | 
Create Date:2022-07-28 06:29:10 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:This is called from mprotect(). PROT_GROWSDOWN and PROT_GROWSUP have* already been masked out.* Returns true if the prot flags are valid
Proto:static inline bool arch_validate_prot(unsigned long prot, unsigned long addr)
Type:bool
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| unsigned long | prot | |
| unsigned long | addr | 
| 97 | Return (prot & ~( page can be read | page can be written | page can be executed | page may be used for atomic ops )) == 0 | 
| Name | Describe | 
|---|---|
| do_mprotect_pkey | pkey==-1 when doing a legacy mprotect() | 
| 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  |