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