aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/configs/gcov_defconfig
diff options
context:
space:
mode:
authorMichael Holzheu <holzheu@linux.vnet.ibm.com>2016-05-12 18:10:48 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2016-05-19 09:14:27 +0200
commit0fa963553a5c28d8f8aabd8878326d3f782045fc (patch)
treea16902f8f6f8182a72bff270e415ac9aed4a9cf2 /arch/s390/configs/gcov_defconfig
parentMerge tag 'trace-v4.7' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace (diff)
downloadlinux-dev-0fa963553a5c28d8f8aabd8878326d3f782045fc.tar.xz
linux-dev-0fa963553a5c28d8f8aabd8878326d3f782045fc.zip
s390/bpf: reduce maximum program size to 64 KB
The s390 BFP compiler currently uses relative branch instructions that only support jumps up to 64 KB. Examples are "j", "jnz", "cgrj", etc. Currently the maximum size of s390 BPF programs is set to 0x7ffff. If branches over 64 KB are generated the, kernel can crash due to incorrect code. So fix this an reduce the maximum size to 64 KB. Programs larger than that will be interpreted. Fixes: ce2b6ad9c185 ("s390/bpf: increase BPF_SIZE_MAX") Cc: stable@vger.kernel.org # 4.3+ Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions