commit | bcb4d62f4283be3ecc9280bb40314bee6a797f1f | [log] [tgz] |
---|---|---|
author | Micha Kalfon <micha@cellrox.com> | Tue Jan 13 12:12:57 2015 +0200 |
committer | Amit Pundir <amit.pundir@linaro.org> | Mon Aug 08 12:02:17 2016 +0530 |
tree | c3aacb346f48d34f7ebdf0e9d0e2561d891c50c2 | |
parent | aba3b0b0a48f3f778417f0ffcf2fd95f7fc93187 [diff] |
prctl: make PR_SET_TIMERSLACK_PID pid namespace aware Make PR_SET_TIMERSLACK_PID consider pid namespace and resolve the target pid in the caller's namespace. Otherwise, calls from pid namespace other than init would fail or affect the wrong task. Change-Id: I1da15196abc4096536713ce03714e99d2e63820a Signed-off-by: Micha Kalfon <micha@cellrox.com> Acked-by: Oren Laadan <orenl@cellrox.com>