Re: RFC: executable archive

From: Pavel Machek
Date: Thu Apr 22 2004 - 14:58:44 EST


Hi!

> Same problem with python (i'm just learning), and a collection of .class
> files for java.

For java its called .jar.

> My first though would be to make a stub, and put the ar file in the data
> area of the process, something akind to self extracting zip files on
> dos/windoze.
> A couple of problems:
> a) you can't "mount" the ar file to make it visible to the process as a
> part of it's file system view. ( Atleast not without intercepting a
> whole lot of libc calls)

See uservfs.sf.net.

But intercepting those system calls would be better, portable to macOsX etc...

Or simply link those interpretters with uservfs; its going to be
usefull for other stuff, too.
--
64 bytes from 195.113.31.123: icmp_seq=28 ttl=51 time=448769.1 ms

-
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/