Thread (20 messages) 20 messages, 2 authors, 2016-09-15

Re: [PATCHv4 net-next 05/15] bpf: expose internal verfier structures

flat view

From: Alexei Starovoitov <hidden>
Date: 2016-09-15 20:09:51

On Thu, Sep 15, 2016 at 08:12:25PM +0100, Jakub Kicinski wrote:
quoted hunk ↗ jump to hunk
Move verifier's internal structures to a header file and
prefix their names with bpf_ to avoid potential namespace
conflicts.  Those structures will soon be used by external
analyzers.

Signed-off-by: Jakub Kicinski <redacted>
---
v4:
 - separate from adding the analyzer;
 - squash with the prefixing patch.
---
 include/linux/bpf_verifier.h |  78 +++++++++++++
 kernel/bpf/verifier.c        | 263 +++++++++++++++++--------------------------
 2 files changed, 180 insertions(+), 161 deletions(-)
 create mode 100644 include/linux/bpf_verifier.h
diff --git a/include/linux/bpf_verifier.h b/include/linux/bpf_verifier.h
new file mode 100644
index 000000000000..1c0511ef7eaf
--- /dev/null
+++ b/include/linux/bpf_verifier.h
...
+#ifndef _LINUX_BPF_ANALYZER_H
+#define _LINUX_BPF_ANALYZER_H 1
the macro doesn't match the file name.
Other than that
Acked-by: Alexei Starovoitov <ast@kernel.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help