lkml.org 
[lkml]   [2006]   [Apr]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] Add prctl to change endian of a task
Date
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]
\
 
 \ /
  Last update: 2006-04-03 14:40    [W:0.130 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site