aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorMarkos Chandras <[email protected]>2014-06-25 09:37:21 +0100
committerRalf Baechle <[email protected]>2014-06-26 10:48:22 +0100
commit95782bf434437b3292f5cb9ce21b53bdbc1beda1 (patch)
treedf217b9e4d2a4ec7ded37d7d3aea6c34d547e8e9 /tools/perf/scripts/python/call-graph-from-postgresql.py
parente5bb48b0553d75918094c5a6f7b60a4359887218 (diff)
MIPS: BPF: Prevent kernel fall over for >=32bit shifts
Remove BUG_ON() if the shift immediate is >=32 to avoid kernel crashes due to malicious user input. If the shift immediate is >= 32, we simply load the destination register with 0 since only 32-bit instructions are used by JIT so this will do the correct thing even on MIPS64. Signed-off-by: Markos Chandras <[email protected]> Cc: David S. Miller <[email protected]> Cc: Daniel Borkmann <[email protected]> Cc: Alexei Starovoitov <[email protected]> Cc: [email protected] Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/7179/ Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions