Comment 20 for bug 284863

Revision history for this message
Amber (amberved) wrote :

OK, I dont know much about all the various versions and dist etc....

I solved this problem for myself by replacing the call for
"find_task_by_pid_type(PIDTYPE_PID, pid)" to pid_task(find_pid_ns(pid, &init_pid_ns), PIDTYPE_PID)

Actually checking the "linux/sched.h" file, i found that find_task_by_pid_type (etc are defined here) I see that they are defined "static" which tells me that things might have changed between kernel versions and hence all the issues....

But I might be totally off the charts here

-Amber