pid_task function fails to execute

conn intel connintel at gmail.com
Thu May 5 04:42:56 EDT 2011


I found the issue:

one has to pass arguments to pid_task as: pid_task(find_get_pid(<pid found
using sys_getpid in userspace>) , PIDTYPE_PID);

I am trying to understand how the pid value using find_get_pid function
differs from the pid found in the userspace. It seems that they are
different and due to that kernel get exception.

Feel free to share comments.

Thank you,
Ankur.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110505/530937fc/attachment.html 


More information about the Kernelnewbies mailing list