aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2012-08-16 17:03:24 +0900
committerIngo Molnar <[email protected]>2012-09-04 14:31:32 +0200
commit201c373e8e4823700d3160d5c28e1ab18fd1193e (patch)
treef871b6f429e195cdf37dd0582d64813f220057a0 /tools/perf/util/scripting-engines/trace-event-python.c
parentc751134ef8b070070d5f06348286b29d86424677 (diff)
sched/debug: Limit sd->*_idx range on sysctl
Various sd->*_idx's are used for refering the rq's load average table when selecting a cpu to run. However they can be set to any number with sysctl knobs so that it can crash the kernel if something bad is given. Fix it by limiting them into the actual range. Signed-off-by: Namhyung Kim <[email protected]> Signed-off-by: Peter Zijlstra <[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-python.c')
0 files changed, 0 insertions, 0 deletions