1
0
mirror of https://github.com/yurisieucuti/treble_evolution.git synced 2024-11-24 10:56:22 +00:00
treble_evolution/patches/trebledroid/platform_system_netd/0004-Don-t-abort-in-case-of-cgroup-bpf-setup-fail-since-s.patch
2024-03-10 06:48:11 +00:00

27 lines
696 B
Diff

From 1ff7b31f5766eec7c7f067be7be3f0da99052785 Mon Sep 17 00:00:00 2001
From: Pierre-Hugues Husson <phh@phh.me>
Date: Wed, 26 Oct 2022 18:13:56 -0400
Subject: [PATCH 4/4] Don't abort in case of cgroup/bpf setup fail, since some
devices dont have BPF
---
server/main.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/main.cpp b/server/main.cpp
index 3c6b0d52..89bf4e9e 100644
--- a/server/main.cpp
+++ b/server/main.cpp
@@ -147,7 +147,7 @@ int main() {
if (libnetd_updatable_init(cg2_path.c_str())) {
ALOGE("libnetd_updatable_init failed");
- exit(1);
+ //exit(1);
}
gLog.info("libnetd_updatable_init success");
--
2.25.1