Richard Guy Briggs c92cdeb45e audit: convert PPIDs to the inital PID namespace.
sys_getppid() returns the parent pid of the current process in its own pid
namespace.  Since audit filters are based in the init pid namespace, a process
could avoid a filter or trigger an unintended one by being in an alternate pid
namespace or log meaningless information.

Switch to task_ppid_nr() for PPIDs to anchor all audit filters in the
init_pid_ns.

(informed by ebiederman's 6c621b7e)
Cc: stable@vger.kernel.org
Cc: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
2014-03-20 10:11:55 -04:00
..
2013-11-13 12:09:34 +09:00
2013-10-09 12:36:13 +02:00
2013-11-27 13:52:47 -05:00
2012-12-20 17:40:19 -08:00
2013-12-18 19:04:50 -08:00
2013-12-18 19:04:50 -08:00
2013-11-09 00:16:29 -05:00
2013-09-11 15:58:27 -07:00
2013-04-29 13:55:38 -07:00
2013-12-15 11:45:27 -08:00