Hi Guillermo, On Thursday 18 August 2005 17:44, Guillermo López Alejos wrote: > I have a piece of code which uses environment variables. I have been > told that it is not going to work in kernel space because the concept > of environment is not applicable inside the kernel. > > I belive that, but I need to demonstrate it. I do not know how to > proof this, perhaps referring to a solid reference about Linux design > that points to the idea that it has no sense to use environment > variables in kernel space. The Linux kernel is technically one big process with lots of threads. An environment variable is per process and is usally to be threated read only within it. Also the Linux kernel is the first "process" ever. Who should set up it's environment variables? That's why there are none. These arguments are no real proof in a mathematical sense, but should help you argumenting. Regards Ingo Oeser
Attachment:
pgpfENbwJZE1J.pgp
Description: PGP signature
- Follow-Ups:
- Re: Environment variables inside the kernel?
- From: Christoph Lameter <[email protected]>
- Re: Environment variables inside the kernel?
- References:
- Environment variables inside the kernel?
- From: Guillermo López Alejos <[email protected]>
- Environment variables inside the kernel?
- Prev by Date: Re: 2.6.13-rc6-rt9
- Next by Date: Re: [AIO] aio-2.6.13-rc6-B1
- Previous by thread: Re: Environment variables inside the kernel?
- Next by thread: Re: Environment variables inside the kernel?
- Index(es):