Hi, U can have a look at call_usermodhelper() function
regards, --- On Sat, 4/9/10, Greg Freemyer <[email protected]> wrote: From: Greg Freemyer <[email protected]> Subject: Re: Reading a file from the Kernel. To: "LKomz Komz" <[email protected]> Cc: [email protected] Date: Saturday, 4 September, 2010, 3:16 AM On Fri, Sep 3, 2010 at 5:23 PM, LKomz Komz <[email protected]> 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 [email protected] Please read the FAQ at http://kernelnewbies.org/FAQ
