[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20181204064606.803625-1-ast@kernel.org>
Date: Mon, 3 Dec 2018 22:46:03 -0800
From: Alexei Starovoitov <ast@...nel.org>
To: "David S . Miller" <davem@...emloft.net>
CC: <daniel@...earbox.net>, <ecree@...arflare.com>,
<anatoly.trosinenko@...il.com>, <netdev@...r.kernel.org>,
<kernel-team@...com>
Subject: [PATCH bpf 0/3] bpf: improve verifier resilience
Three patches to improve verifier ability to handle pathological bpf programs
with a lot of branches:
- make sure prog_load syscall can be aborted
- improve branch taken analysis
- introduce per-insn complexity limit for unprivileged programs
Alexei Starovoitov (3):
bpf: check pending signals while verifying programs
bpf: improve verifier branch analysis
bpf: add per-insn complexity limit
kernel/bpf/verifier.c | 103 +++++++++++++++++---
tools/testing/selftests/bpf/test_verifier.c | 4 +-
2 files changed, 91 insertions(+), 16 deletions(-)
--
2.17.1
Powered by blists - more mailing lists