<div class="gmail_quote"><br></div>I found the issue:<br><br>one has to pass arguments to pid_task as: pid_task(find_get_pid(<pid found using sys_getpid in userspace>) , PIDTYPE_PID);<br><br>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.<br>
<br>Feel free to share comments.<br><br>Thank you,<br>Ankur.<br>