RE: [PATCH]: RO binaries - binfmt_misc, linux-2.6.0-test3

From: Zach, Yoav
Date: Thu Aug 14 2003 - 05:50:01 EST


We are running IA-32 binaries on IPF machines using a SW translator.
We have problems with binaries that are non-readable ( it's
execute-only not read-only. sorry for the misleading subject line )
that reside on an NFS drive. There is no way for the translator
to load these files, even if it had root permissions, because these
permissions are squashed on the remote drive; so giving the translator
setuid/root permissions does not work.

Thanks,
Yoav.

> -----Original Message-----
> From: Muli Ben-Yehuda [mailto:mulix@xxxxxxxxx]
> Sent: Thursday, August 14, 2003 12:26
> To: Zach, Yoav
> Cc: linux-kernel@xxxxxxxxxxxxxxx; Sharma, Arun; Mallick, Asit K
> Subject: Re: [PATCH]: RO binaries - binfmt_misc, linux-2.6.0-test3
>
>
> On Thu, Aug 14, 2003 at 12:02:44PM +0300, Zach, Yoav wrote:
> > The proposed patch solves a problem for interpreters that need to
> > execute a non-readable file, which cannot be read in
> userland. To handle
> > such cases the interpreter must have the kernel load the
> binary on its
> > behalf.
>
> In what scenarios does this occur?
>
> > The patch is against linux-2.6.0-test3
>
> Please send patches as inline text, unless they're really big. Thank
> you.
> --
> Muli Ben-Yehuda
> http://www.mulix.org
>
>
-
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/