From mboxrd@z Thu Jan 1 00:00:00 1970 From: connintel@gmail.com (conn intel) Date: Thu, 5 May 2011 14:12:56 +0530 Subject: pid_task function fails to execute In-Reply-To: References: Message-ID: To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org I found the issue: one has to pass arguments to pid_task as: pid_task(find_get_pid() , 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