Function report |
Source Code:security\security.c |
Create Date:2022-07-28 18:39:45 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:mmap_prot
Proto:static inline unsigned long mmap_prot(struct file *file, unsigned long prot)
Type:unsigned long
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct file * | file | |
| unsigned long | prot |
| 1418 | If (prot & (page can be read | page can be executed )) != page can be read Then Return prot |
| 1420 | If Not (personality & READ_IMPLIES_EXEC) Then Return prot |
| 1425 | If Not file Then Return prot | page can be executed |
| 1431 | If Not path_noexec( & f_path) Then |
| 1439 | Return prot | page can be executed |
| 1442 | Return prot |
| Name | Describe |
|---|---|
| security_mmap_file |
| 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 |