summaryrefslogtreecommitdiffstats
path: root/lib/syscall.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <andriin@fb.com>2019-05-29 10:36:03 -0700
committerDaniel Borkmann <daniel@iogearbox.net>2019-05-30 01:23:34 +0200
commit8ca990ce0d402d5aaf05f7a33ff025fcbcbb5f93 (patch)
tree4a5d05ae4f807e0a9ac4a9ab5599f57e2adac9ff /lib/syscall.c
parent501b125a29f7cd8983960c5f3c80b337b1359cc3 (diff)
downloadlinux-stable-8ca990ce0d402d5aaf05f7a33ff025fcbcbb5f93.tar.gz
linux-stable-8ca990ce0d402d5aaf05f7a33ff025fcbcbb5f93.tar.bz2
linux-stable-8ca990ce0d402d5aaf05f7a33ff025fcbcbb5f93.zip
libbpf: fix detection of corrupted BPF instructions section
Ensure that size of a section w/ BPF instruction is exactly a multiple of BPF instruction size. Signed-off-by: Andrii Nakryiko <andriin@fb.com> Acked-by: Song Liu <songliubraving@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'lib/syscall.c')
0 files changed, 0 insertions, 0 deletions