diff options
| author | Peter Zijlstra <[email protected]> | 2014-05-09 08:49:03 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2014-05-22 08:21:26 +0000 |
| commit | dbdb22754fde671dc93d2fae06f8be113d47f2fb (patch) | |
| tree | 150c824b8fb435ca64f034c740804e7a7da2297b /tools/perf/util/scripting-engines/trace-event-perl.c | |
| parent | sched: Make sched_setattr() correctly return -EFBIG (diff) | |
| download | kernel-dbdb22754fde671dc93d2fae06f8be113d47f2fb.tar.gz kernel-dbdb22754fde671dc93d2fae06f8be113d47f2fb.zip | |
sched: Disallow sched_attr::sched_policy < 0
The scheduler uses policy=-1 to preserve the current policy state to
implement sys_sched_setparam(), this got exposed to userspace by
accident through sys_sched_setattr(), cure this.
Reported-by: Michael Kerrisk <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Acked-by: Michael Kerrisk <[email protected]>
Cc: <[email protected]>
Cc: Linus Torvalds <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions
