Files
gvisor/pkg/cpuid
Andrei Vagin 4cc749881e cpuid: ExtendedStateSize returns the state size just for the enabled features
It is impossible to enable any features from user-space, so
it is no reason to return the maximum size with all features enabled.

The kvm and systrap platforms uses ExtendedStateSize to generate fpu states
that are restored via rt_sigreturn, but the kernel rejects frames with
incorrect sizes.

PiperOrigin-RevId: 537333319
2023-06-02 09:39:06 -07:00
..
2023-05-10 14:07:03 -07:00