Function report |
Source Code:arch\x86\kernel\fpu\xstate.c |
Create Date:2022-07-28 07:50:40 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Validate an xstate header supplied by userspace (ptrace or sigreturn)
Proto:int validate_xstate_header(const struct xstate_header *hdr)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
const struct xstate_header * | hdr |
482 | If xfeatures & ( ~Mask of xstate features supported by the CPU and the kernel: | Supervisor features ) Then Return -EINVAL |
493 | BUILD_BUG_ON - break compile if a condition is true( size of reserved != 48) |
499 | Return 0 |
Name | Describe |
---|---|
__fpu__restore_sig | |
copy_kernel_to_xstate | Convert from a ptrace standard-format kernel buffer to kernel XSAVES format* and copy to the target thread. This is called from xstateregs_set(). |
copy_user_to_xstate | Convert from a ptrace or sigreturn standard-format user-space buffer to* kernel XSAVES format and copy to the target thread. This is called from* xstateregs_set(), as well as potentially from the sigreturn() and* rt_sigreturn() system calls. |
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 |