1
0
mirror of https://github.com/ponces/treble_aosp.git synced 2024-11-25 03:16:25 +00:00
treble_aosp/patches/trebledroid/platform_system_netd/0004-Don-t-abort-in-case-of-cgroup-bpf-setup-fail-since-s.patch
2024-06-18 10:56:01 +01:00

27 lines
696 B
Diff

From 60e8ec91fa93bbd5f190cb70563c0b57f101ad21 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 b0c5406d..ec15ecc2 100644
--- a/server/main.cpp
+++ b/server/main.cpp
@@ -145,7 +145,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.34.1