Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\processor.h Create Date:2022-07-28 05:35:12
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Whitelist the FPU state from the task_struct for hardened usercopy.

Proto:static inline void arch_thread_struct_whitelist(unsigned long *offset, unsigned long *size)

Type:void

Parameter:

TypeParameterName
unsigned long *offset
unsigned long *size
554  offset = offsetof(structthread_struct, @state:* In-memory copy of all FPU registers that we save/restore* over context switches. If the task is using the FPU then* the registers in the FPU are more recent than this state* copy. If the task context-switches away then they get)
555  size = fpu_kernel_xstate_size
Caller
NameDescribe
task_struct_whitelist