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

Popular posts from this blog

java - unable show chart in xls document using jasper reports -

javascript - How to change image src on success AJAX -

java.lang.RuntimeException: Could not generate dummy secret at sun.security.ssl.RSAClientKeyExchange.<init> -