lkml.org 
[lkml]   [2006]   [Apr]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] Add prctl to change endian of a task
From
Date
On Sul, 2006-04-02 at 16:37 +0200, Ingo Oeser wrote:
> What about limiting this to be called once per task or VM?
> This will prevent most abuse scenarios, I can think of.

Abuse is a possible problem but you can deal with that. If you don't
inherit endian changes then the problem doesn't occur. If you must
inherit them then drop the inheritance when an suid/sgid exec occurs as
we do with some other properties.

Can you explain however why you can't do this simply by using a binary
magic number in the executable to indicate which endian it is, or do you
really need to flip it ?

Alan

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

\
 
 \ /
  Last update: 2006-04-03 14:39    [W:0.061 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site