[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190130003816.1043826-1-yhs@fb.com>
Date: Tue, 29 Jan 2019 16:38:16 -0800
From: Yonghong Song <yhs@...com>
To: <netdev@...r.kernel.org>
CC: Alexei Starovoitov <ast@...com>,
Daniel Borkmann <daniel@...earbox.net>, <kernel-team@...com>,
Yonghong Song <yhs@...com>
Subject: [PATCH bpf 0/2] bpf: btf: allow typedef func_proto
The current btf implementation disallows the typedef of
a func_proto type. This actually is allowed per C standard.
This patch fixed btf verification to permit such types.
Patch #1 fixed the kernel side and Patch #2 fixed
the tools test_btf test.
Yonghong Song (2):
bpf: btf: allow typedef func_proto
tools/bpf: fix test_btf for typedef func_proto case
kernel/bpf/btf.c | 3 ++-
tools/testing/selftests/bpf/test_btf.c | 9 +++------
2 files changed, 5 insertions(+), 7 deletions(-)
--
2.17.1
Powered by blists - more mailing lists