diff options
author | Alexei Starovoitov <ast@kernel.org> | 2019-02-21 19:40:14 +0100 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-02-22 00:14:19 +0100 |
commit | e80d02dd763093f70c3000ef34253a6d426becf6 (patch) | |
tree | b6484e87e9077adc485a55d7a2baf92640dd9660 /ipc/mq_sysctl.c | |
parent | bpf: add skb->queue_mapping write access from tc clsact (diff) | |
download | linux-e80d02dd763093f70c3000ef34253a6d426becf6.tar.xz linux-e80d02dd763093f70c3000ef34253a6d426becf6.zip |
seccomp, bpf: disable preemption before calling into bpf prog
All BPF programs must be called with preemption disabled.
Fixes: 568f196756ad ("bpf: check that BPF programs run with preemption disabled")
Reported-by: syzbot+8bf19ee2aa580de7a2a7@syzkaller.appspotmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'ipc/mq_sysctl.c')
0 files changed, 0 insertions, 0 deletions