cs412017
2005-09-26 16:07:52 UTC
I am having trouble visualizing the parameters to be passed in to the
Copy_From_User function for copying a function pointer from user space
to kernel space.
To be particular, I am not sure how to convert a unsigned long to a
function pointer, can we just cast it? Also, what should the third
parameter be, that is, the size of the data to be copied?
Copy_From_User function for copying a function pointer from user space
to kernel space.
To be particular, I am not sure how to convert a unsigned long to a
function pointer, can we just cast it? Also, what should the third
parameter be, that is, the size of the data to be copied?