[ale] Fun with Elf

Joe Steele joe at madewell.com
Thu Jun 14 12:35:06 EDT 2001


Identification of an executable's format is handled by the kernel's 
execve() system call.  There are some kernel config options that control 
what things can be exec'ed.  You should be able to find more info in 
the files /usr/src/linux/Documentation/{binfmt_misc.txt,java.txt}.

--Joe

-----Original Message-----
From:	Tommie M. Jones [SMTP:tj at atlantageek.com]
Sent:	Thursday, June 14, 2001 11:20 AM
To:	ale at ale.org
Subject:	[ale] Fun with Elf


I was reading about Elf a year ago and it talked about how the first few
bytes of the format are read and then the system (shell maybe? ) acts
correspondingly.  So for instance When you type in a scripts name it knows
that #! means pass off the file to this program.
It also could be configured to handle other files.  My question is about
java class files.  Can the shell/system be informed that when it sees a
class file it should be passed off to the java executable.
Sorry about being so vague .  It was in a Kernel book and was a side-note.


http://www.atlantageek.com
Get inside Atlanta's Tech scene

--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.





More information about the Ale mailing list