Messages in this thread | ![/](/images/icornerl.gif) | | From | Ingo Oeser <> | Subject | Re: [PATCH] Add prctl to change endian of a task | Date | Sun, 2 Apr 2006 16:37:41 +0200 |
| |
Hi Anton,
On Sunday, 2. April 2006 00:29, you wrote: > Add a prctl to change a tasks endian. While we only have powerpc code to > implement this so far, it seems like something that warrants a generic > interface (like setting floating point mode bits).
Most programmers (and thus programs) expect this to be a compile time decision.
What are the reasons of allowing to change it so dynamic at all?
What are the security implications of this? My naive guess is, that it might defeat range checking of values in user space code.
What about limiting this to be called once per task or VM? This will prevent most abuse scenarios, I can think of.
Regards
Ingo Oeser [unhandled content-type:application/pgp-signature] | ![\](/images/icornerr.gif) |