On 08/23/2011 02:20 PM, Linus Torvalds wrote: > On Tue, Aug 23, 2011 at 2:08 PM, H. Peter Anvin <h...@zytor.com> wrote: >> >> Again, can we steal one of the padding fields to use for that state >> variable? We have two 16-bit padding fields; one for cs and one for ss. > > We can steal them for passing the information to the user, but no, I > don't think we can use them to then take the information *from* the > user. > > Somebody may well be setting up a 'pt_regs' structure on his own, and > simply not fill in the padding, resulting in random data in those > fields. >
That would be fine, I'd think... just gives the user space application enough information to know how it would have to reshuffle the registers if it needs to. -hpa ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel