From: Richard Guy Briggs Date: Thu, 15 Aug 2013 22:05:12 +0000 (-0400) Subject: pid: get pid_t ppid of task in init_pid_ns X-Git-Tag: v3.15-rc1~18^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad36d28293936b03d6b7996e9d6aadfd73c0eb08;p=pandora-kernel.git pid: get pid_t ppid of task in init_pid_ns Added the functions task_ppid_nr_ns() and task_ppid_nr() to abstract the lookup of the PPID (real_parent's pid_t) of a process, including rcu locking, in the arbitrary and init_pid_ns. This provides an alternative to sys_getppid(), which is relative to the child process' pid namespace. (informed by ebiederman's 6c621b7e) Cc: stable@vger.kernel.org Cc: Eric W. Biederman Signed-off-by: Richard Guy Briggs --- Reading git-diff-tree failed