Josef Bacik
9802d86585
bpf: add a bpf_override_function helper
...
Error injection is sloppy and very ad-hoc. BPF could fill this niche
perfectly with it's kprobe functionality. We could make sure errors are
only triggered in specific call chains that we care about with very
specific situations. Accomplish this with the bpf_override_funciton
helper. This will modify the probe'd callers return value to the
specified value and set the PC to an override function that simply
returns, bypassing the originally probed function. This gives us a nice
clean way to implement systematic error injection for all of our code
paths.
Acked-by: Alexei Starovoitov <[email protected] >
Acked-by: Ingo Molnar <[email protected] >
Signed-off-by: Josef Bacik <[email protected] >
Signed-off-by: Alexei Starovoitov <[email protected] >
2017-12-12 09:02:34 -08:00
..
alpha
treewide: setup_timer() -> timer_setup()
2017-11-21 15:57:07 -08:00
arc
ARC updates for 4.15-rc1
2017-11-25 08:21:54 -10:00
arm
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2017-12-05 10:44:19 -05:00
arm64
arm64 fixes:
2017-12-01 19:37:03 -05:00
blackfin
treewide: setup_timer() -> timer_setup()
2017-11-21 15:57:07 -08:00
c6x
Kbuild updates for v4.15
2017-11-17 17:45:29 -08:00
cris
pci-v4.15-changes
2017-11-15 15:01:28 -08:00
frv
Kbuild updates for v4.15
2017-11-17 17:45:29 -08:00
h8300
mm, arch: remove empty_bad_page*
2017-11-15 18:21:03 -08:00
hexagon
Kbuild updates for v4.15
2017-11-17 17:45:29 -08:00
ia64
arch/ia64/include/asm/topology.h: remove unused parent_node() macro
2017-11-17 16:10:04 -08:00
m32r
m32r: fix endianness constraints
2017-11-15 18:21:00 -08:00
m68k
m68k/macboing: Fix missed timer callback assignment
2017-11-24 16:19:40 +01:00
metag
microblaze
Microblaze patch for 4.15-rc2
2017-11-29 14:19:22 -08:00
mips
* x86 bugfixes: APIC, nested virtualization, IOAPIC
2017-11-30 08:15:19 -08:00
mn10300
bug: define the "cut here" string in a single place
2017-11-17 16:10:01 -08:00
nios2
openrisc
kmemcheck: remove annotations
2017-11-15 18:21:04 -08:00
parisc
treewide: Switch DEFINE_TIMER callbacks to struct timer_list *
2017-11-21 15:57:05 -08:00
powerpc
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2017-12-05 10:44:19 -05:00
riscv
RISC-V: Fixes for clean allmodconfig build
2017-12-01 13:31:31 -08:00
s390
* x86 bugfixes: APIC, nested virtualization, IOAPIC
2017-11-30 08:15:19 -08:00
score
sh
treewide: setup_timer() -> timer_setup()
2017-11-21 15:57:07 -08:00
sparc
Merge branch 'akpm' (patches from Andrew)
2017-11-29 19:12:44 -08:00
tile
mm: switch to 'define pmd_write' instead of __HAVE_ARCH_PMD_WRITE
2017-11-29 18:40:42 -08:00
um
This pull request contains the following core changes:
2017-11-22 20:46:06 -10:00
unicore32
kmemcheck: stop using GFP_NOTRACK and SLAB_NOTRACK
2017-11-15 18:21:04 -08:00
x86
bpf: add a bpf_override_function helper
2017-12-12 09:02:34 -08:00
xtensa
libnvdimm for 4.15
2017-11-17 09:51:57 -08:00
.gitignore
Kconfig
bpf: add a bpf_override_function helper
2017-12-12 09:02:34 -08:00