Pavel Emelianov [EMAIL PROTECTED] wrote: | > =================================================================== | > --- lx26-21-mm2.orig/kernel/timer.c 2007-05-22 16:58:38.000000000 -0700 | > +++ lx26-21-mm2/kernel/timer.c 2007-05-22 16:59:44.000000000 -0700 | > @@ -945,7 +945,7 @@ asmlinkage long sys_getppid(void) | > int pid; | > | > rcu_read_lock(); | > - pid = rcu_dereference(current->real_parent)->tgid; | > + pid = pid_to_nr(task_parent_tgid(current)); | | This breaks fsys_getppid() call in ia64...
Good catch. I need to figure out how to make the pid_to_nr() call in IA64 assembly and if there are other architectures that implement in assembly. But in general, do you see any problems with the interfaces like task_parent_tgid() ? | | > rcu_read_unlock(); | > | > return pid; _______________________________________________ Containers mailing list [EMAIL PROTECTED] https://lists.linux-foundation.org/mailman/listinfo/containers _______________________________________________ Devel mailing list Devel@openvz.org https://openvz.org/mailman/listinfo/devel