函数逻辑报告 |
Source Code:arch\x86\kernel\fpu\xstate.c |
Create Date:2022-07-27 08:50:47 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Validate an xstate header supplied by userspace (ptrace or sigreturn)
函数原型:int validate_xstate_header(const struct xstate_header *hdr)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
const struct xstate_header * | hdr |
482 | 如果xfeatures按位与Mask of xstate features supported by the CPU and the kernel:的反按位或Supervisor features 的值则返回:负EINVAL |
493 | BUILD_BUG_ON - break compile if a condition is true(reserved的长度 != 48) |
499 | 返回:0 |
名称 | 描述 |
---|---|
__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. |
xstateregs_set |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |