lkml.org 
[lkml]   [1998]   [Jun]   [30]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateTue, 30 Jun 1998 21:40:19 +0200
FromBrian Schau <>
SubjectHow to access user-env from binfmt-module?
Hi,


I've just written a binfmt-loader to load a AcuCobol-runtime whenever a
AcuCobol-bytecode is executed.  The binfmt-loader is made as a module,
modelled a bit after binfmt_script.c.   Kernel version is 2.0.34.
Everything works at it should.   There's just one thing missing.  I'd
like my users to be able to do something like:


	export RUNTIME_PATH=/acu/bin/old_runtime_v3.0
	./acucobol_bytecode


ie. override the default runtime-path the binfmt-module have
initialized.

But how do I access the user-environment from the binfmt-module?  I feel
there's something elementary I've overlooked, even though I've been
cruising/surfing the kernel-source & KHG for the past 4 hours ...

Would some kind sould please come to my rescue before my head explodes?


Best regards,

Brian

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 12:43    [W:0.204 / U:0.100 seconds]
©2003-2008 Jasper Spaans