From e0a5665570d98165b87bf7f77c4c297111d2c16f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20=C5=BBenczykowski?= Date: Sat, 9 Mar 2024 06:33:47 +0000 Subject: [PATCH] Platform BpfLoader: remove spurious comment about versions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (leftover) Test: TreeHugger Signed-off-by: Maciej Żenczykowski Change-Id: I82b589ed3aa0218c22e0a312928f2a36487ce7bd --- libbpf_android/Loader.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/libbpf_android/Loader.cpp b/libbpf_android/Loader.cpp index c96c0f0..8686ccc 100644 --- a/libbpf_android/Loader.cpp +++ b/libbpf_android/Loader.cpp @@ -895,8 +895,6 @@ static int loadCodeSections(const char* elfPath, vector& cs, const domain selinux_context = getDomainFromSelinuxContext(cs[i].prog_def->selinux_context); domain pin_subdir = getDomainFromPinSubdir(cs[i].prog_def->pin_subdir); - // Note: make sure to only check for unrecognized *after* verifying bpfloader - // version limits include this bpfloader's version. if (unrecognized(pin_subdir)) return -ENOTDIR;