diff options
| author | Micha Kalfon <micha@cellrox.com> | 2015-01-13 12:12:57 +0200 |
|---|---|---|
| committer | John Stultz <john.stultz@linaro.org> | 2016-02-16 13:53:49 -0800 |
| commit | d4d049c55d0f0fa7fb5521a83c7e0c029c80e7c0 (patch) | |
| tree | af0ea648d6aaab5fc098120fc1f94eaa2318a682 /kernel/fork.c | |
| parent | 18f42f60bedb93c9e90641bf9a551f9c0caf0a40 (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>
Diffstat (limited to 'kernel/fork.c')
0 files changed, 0 insertions, 0 deletions
