Re: Reading a file from the Kernel.

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

 



On Fri, Sep 3, 2010 at 5:23 PM, LKomz Komz <lkomz101@xxxxxxxxx> wrote:
>
> Hi all,
> I had a query regarding how to access a file from a kernel driver.
> I currently use modprobe.config. Is there any other way I could use
> a config file other than the above?
> Thanks in advance,
> L Komz.

It's highly recommended you work with files in userspace and then pass
any policy info in via one of the normal kernel APIs.

http://kernelnewbies.org/FAQ/WhyWritingFilesFromKernelIsBad

Greg

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux