> > How would you specify where to find the interpreter? Compiled Java
> > doesn't have comments, so you couldn't use the #!-style approach.
> You can add one to the front, you can also use something like the elksemu
> module that spots elks binaries by magic number, rewrites them to
> allegedly have #! and passes them to the shell interpreter.
Why can't we just patch binfmt_script.c so, that it could be
configured to recognice some magics and then fetch file to the
magic-specific interpreter?
-maf