Remove mentions of bploader versions between S and T
(they're only of historical interest at this point) Test: TreeHugger Signed-off-by: Maciej Żenczykowski <maze@google.com> Change-Id: I0e52efda62626091c3023c5fd3622ffcdcd00ee1
This commit is contained in:
@@ -27,13 +27,6 @@
|
|||||||
// Android S / 12 (api level 31) - added 'tethering' mainline eBPF support
|
// Android S / 12 (api level 31) - added 'tethering' mainline eBPF support
|
||||||
#define BPFLOADER_S_VERSION 2u
|
#define BPFLOADER_S_VERSION 2u
|
||||||
|
|
||||||
// Android T / 13 Beta 3 (api level 33) - added support for 'netd_shared'
|
|
||||||
#define BPFLOADER_T_BETA3_VERSION 13u
|
|
||||||
|
|
||||||
// v0.18 added support for shared and pindir, but still ignores selinux_content
|
|
||||||
// v0.19 added support for selinux_content along with the required selinux changes
|
|
||||||
// and should be available starting with Android T Beta 4
|
|
||||||
//
|
|
||||||
// Android T / 13 (api level 33) - support for shared/selinux_context/pindir
|
// Android T / 13 (api level 33) - support for shared/selinux_context/pindir
|
||||||
#define BPFLOADER_T_VERSION 19u
|
#define BPFLOADER_T_VERSION 19u
|
||||||
|
|
||||||
@@ -225,7 +218,7 @@ static void (*bpf_ringbuf_submit_unsafe)(const void* data, __u64 flags) = (void*
|
|||||||
|
|
||||||
#ifdef THIS_BPF_PROGRAM_IS_FOR_TEST_PURPOSES_ONLY
|
#ifdef THIS_BPF_PROGRAM_IS_FOR_TEST_PURPOSES_ONLY
|
||||||
#define BPF_MAP_ASSERT_OK(type, entries, mode)
|
#define BPF_MAP_ASSERT_OK(type, entries, mode)
|
||||||
#elif BPFLOADER_MIN_VER >= BPFLOADER_T_BETA3_VERSION
|
#elif BPFLOADER_MIN_VER >= BPFLOADER_T_VERSION
|
||||||
#define BPF_MAP_ASSERT_OK(type, entries, mode)
|
#define BPF_MAP_ASSERT_OK(type, entries, mode)
|
||||||
#else
|
#else
|
||||||
#define BPF_MAP_ASSERT_OK(type, entries, mode) \
|
#define BPF_MAP_ASSERT_OK(type, entries, mode) \
|
||||||
|
|||||||
Reference in New Issue
Block a user