Yonghong Song
f1a8b8e3d9
bpf: change bpf_probe_write_user to bpf_trace_printk in test_verifier
...
There are four tests in test_verifier using bpf_probe_write_user
helper. These four tests will emit the following kernel messages
[ 12.974753] test_verifier[220] is installing a program with bpf_probe_write_user
helper that may corrupt user memory!
[ 12.979285] test_verifier[220] is installing a program with bpf_probe_write_user
helper that may corrupt user memory!
......
This may confuse certain users. This patch replaces bpf_probe_write_user
with bpf_trace_printk. The test_verifier already uses bpf_trace_printk
earlier in the test and a trace_printk warning message has been printed.
So this patch does not emit any more kernel messages.
Fixes: b6ff639112 ("bpf: fix and add test cases for ARG_CONST_SIZE_OR_ZERO semantics change")
Signed-off-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
2017-11-21 21:23:05 +01:00
..
accounting
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
arch
Merge branch 'linus' into locking/core, to resolve conflicts
2017-11-07 10:32:44 +01:00
bpf
bpftool: revert printing program device bound info
2017-11-21 00:37:35 +01:00
build
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
cgroup
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
firewire
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
gpio
This is the bulk of GPIO changes for the v4.15 kernel cycle:
2017-11-14 17:23:44 -08:00
hv
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
iio
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
include
bpftool: revert printing program device bound info
2017-11-21 00:37:35 +01:00
kvm /kvm_stat
First batch of KVM changes for 4.15
2017-11-16 13:00:24 -08:00
laptop
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
leds
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
lib
tools/lib/traceevent/parse-filter.c: clean up clang build warning
2017-11-17 16:10:02 -08:00
nfsd
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
objtool
Merge branch 'linus' into x86/asm, to pick up fixes and resolve conflicts
2017-11-07 10:53:06 +01:00
pci
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
pcmcia
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
perf
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux
2017-11-17 14:23:52 -08:00
power
ACPI updates for v4.15-rc1
2017-11-13 20:08:22 -08:00
scripts
License cleanup: add SPDX license identifiers to some files
2017-11-02 10:04:46 -07:00
spi
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
testing
bpf: change bpf_probe_write_user to bpf_trace_printk in test_verifier
2017-11-21 21:23:05 +01:00
thermal /tmon
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux
2017-11-17 14:31:27 -08:00
time
usb
USB/PHY patches for 4.15-rc1
2017-11-13 21:14:07 -08:00
virtio
locking/x86: Use LOCK ADD for smp_mb() instead of MFENCE
2017-11-10 13:43:44 +01:00
vm
tools: slabinfo: add "-U" option to show unreclaimable slabs only
2017-11-15 18:21:01 -08:00
Makefile
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2017-11-04 09:26:51 +09:00