lkml.org 
[lkml]   [2003]   [Aug]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subject[PATCH]: non-readable binaries - binfmt_misc, linux-2.6.0-test3
Date
From
This patch was posted on the list on August 14th ( with 'RO binaries'
instead of 'non-readable' ) and got no response. As it is very important
for us, I'd like to ask anyone who's involved with interpreters and
binfmt_misc to review the proposed patch and comment.

Thanks,
Yoav.

-----Original Message-----
From: Zach, Yoav
Sent: Thursday, August 14, 2003 12:03
To: linux-kernel@vger.kernel.org
Cc: Sharma, Arun; Mallick, Asit K
Subject: [PATCH]: RO binaries - binfmt_misc, linux-2.6.0-test3

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. The proposed patch handles this case by telling binfmt_misc, by
a special flag in the registration string, to open the binary for
reading and pass its descriptor as argv[1], instead of passing the
binary's path. Old behavior of binfmt_misc is kept for interpreters
which do not specify this special flag.

The patch is against linux-2.6.0-test3

========================================================================
=============
Yoav Zach
Performance Tools Lab
Intel Corp.


[unhandled content-type:application/x-zip-compressed]
\
 
 \ /
  Last update: 2005-03-22 13:47    [W:0.058 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site