Writing a System Call that Accesses a Kernel Variable -
i have own kernel module has external integer variable:
extern int = 0;
i want write system call (in separate file) following i:
i = + 1;
however, because declared in kernel module file , not in system call, won't compile properly. know problem doesn't lie elsewhere because system call "works" fine when contains printk
statement or self-contained. how can link variable in kernel module file system call file?
Comments
Post a Comment