Messages in this thread | | | Date | Tue, 20 May 2008 10:57:04 -0700 | From | "H. Peter Anvin" <> | Subject | Re: [RFC] x86: xsave/xrstor support, ucontext_t extensions |
| |
Mikael Pettersson wrote: > > An ugly workaround could be to start clearing one of these fields, > and say that the data there is only valid for kernels >= 2.6.26. > (I said it was ugly...) > > Or we go back to stashing a flag in uc_flags (which is kosher), > and try to figure out how to mark non-rt sigframes. >
Or use the OSXSAVE hack. Let me think about this for some time.
There is also the option of simply using a field guarded by a 64- or 128-bit magic number. It's a bit ugly, but it works.
-hpa
| |