diff options
| author | Ruchi Kandoi <kandoiruchi@google.com> | 2014-06-13 17:03:01 -0700 |
|---|---|---|
| committer | John Stultz <john.stultz@linaro.org> | 2016-02-16 13:53:48 -0800 |
| commit | 2476d3c24159f3b7113d2a36685ba81ae5209648 (patch) | |
| tree | 25d867d67c61bd0fc9b482b5a2c8f8ac40403a94 /kernel/sysctl_binary.c | |
| parent | f2902f9065c5ec4f475367e5d39bdfff0d41fda6 (diff) | |
prctl: adds the capable(CAP_SYS_NICE) check to PR_SET_TIMERSLACK_PID.
Adds a capable() check to make sure that arbitary apps do not change the
timer slack for other apps.
Bug: 15000427
Change-Id: I558a2551a0e3579c7f7e7aae54b28aa9d982b209
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
Diffstat (limited to 'kernel/sysctl_binary.c')
0 files changed, 0 insertions, 0 deletions
