Article 53W58 module configuration

module configuration

by
CrazyDavy
from LinuxQuestions.org on (#53W58)
Hello, I am looking for some advise before taking the proverbial fork in the road and writing hundreds of redundant lines of code. I am writing a kernel module that requires read only access to a user configuration file. I have noted on googling that the accepted method is to create a user space program to read the configuration and then pass this information to kernel space. Here lies my questions:

1: Is this the correct method of accessing a user config file from kernel space?

2: Currently my user space program creates a single handle to a complex hierarchy of linked lists and structures based on the configuration file. Using 'get_user' can I pass this handle to kernel space and access the underlying structures without access errors?

3: Is there a better way to do this?

Thanks to all the mentors who read my question! Dave.latest?d=yIl2AUoC8zA latest?i=OS0dU3fM_wg:ICJ11bv0W-Y:F7zBnMy latest?i=OS0dU3fM_wg:ICJ11bv0W-Y:V_sGLiP latest?d=qj6IDK7rITs latest?i=OS0dU3fM_wg:ICJ11bv0W-Y:gIN9vFwOS0dU3fM_wg
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments