Function in kernel space called form user space..
Hi All ,
I wanna write a file in kernel space but from my searching I can to know that instead of writeing file in kernel space ,I can write data to user space by copy_to_user space. But link is missing ...I dont know how will my user space will access kernel space means my function in kernel space which will do copy_to_user /....How my user space function will call my kernel level function .. Can any one of you provide me with some example file which are doing this .I know every char driver is using it ...but i could not trace back how user level function is accessing it ... Please co-operate ,i m confused between user space and kernel space. Regards |
Hi,
You can access kernel space functions from user space through file operations. |
you can't call kernel API in user space
|
All times are GMT -5. The time now is 01:07 AM. |