Function report |
Source Code:fs\userfaultfd.c |
Create Date:2022-07-28 20:20:32 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:userfault_msg
Proto:static inline struct uffd_msg userfault_msg(unsigned long address, unsigned int flags, unsigned long reason, unsigned int features)
Type:struct uffd_msg
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned long | address | |
| unsigned int | flags | |
| unsigned long | reason | |
| unsigned int | features |
| 199 | If flags & Fault was a write access Then flags |= If this was a write fault |
| 208 | If reason & wrprotect pages tracking Then flags |= If reason is VM_UFFD_WP |
| 217 | If features & UFFD_FEATURE_THREAD_ID Then ptid = task_pid_vnr(current process) |
| 219 | Return msg |
| Name | Describe |
|---|---|
| handle_userfault | The locking rules involved in returning VM_FAULT_RETRY depending on* FAULT_FLAG_ALLOW_RETRY, FAULT_FLAG_RETRY_NOWAIT and* FAULT_FLAG_KILLABLE are not straightforward |
| 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 |