How to write data to config file in kernel mode


I want to save some config data in kernel mode but my driver does not implement fs_operation functions .

Is there some functions which can read and write files in kernel mode ?

I know Windows has kernel mode file functions , how can I do that in Linux ?

Thank you .

Reply to
Loading thread data ...

This is generally considered to be a bad idea. See

formatting link
for details (and a way to do it anyway).


Reply to
Kristof Provost

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.