Re: How to access Linux Kernel environment Variables ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 05.11.2014 um 11:56 schrieb santosh nayak:
> Thanks Richard for your response.
> 
> Is there any system call in Linux which can access and set variables
> in /proc/cmdline ?  (Similar to kenv() in FreeBSD which can access and
> set variables in /boot/loader.conf).

No.

> I would like to use that system call in linux C code, the  way I am
> using kenv() in freeBSD environment.

Create a wrapper function which behaves like kenv().
Should be doable in a few lines of code.

Thanks,
//richard
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux