Re: Compat 32-bit syscall entry from 64-bit task!?

From: Roland McGrath
Date: Fri Jan 20 2012 - 17:40:47 EST


If you change the size of a regset, then the new full size will be the size
of the core file notes. Existing userland tools will not be expecting
this, they expect a known exact size. If you need to add new stuff, it
really is easier all around to add a new regset flavor. When adding a new
one, you can make it variable-sized from the start so as to be extensible
in the future. We did this for NT_X86_XSTATE, for example.


Thanks,
Roland
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/