lineage_patches_unified/patches/platform_system_bpf/0001-Disable-rlimit-on-bpfloader-because-it-will-crash-8..patch
Andy CrossGate Yan 79b5b414a7 Regenerate patches
frameworks/base got too messy, time to clean it up
2021-02-14 10:41:04 +00:00

25 lines
901 B
Diff

From dae3effa9b22d284a757b88171ba3b1b68fbaa94 Mon Sep 17 00:00:00 2001
From: Pierre-Hugues Husson <phh@phh.me>
Date: Thu, 12 Sep 2019 20:41:03 +0200
Subject: [PATCH] Disable rlimit on bpfloader, because it will crash 8.0 init
Change-Id: Ic6d7c8fa702ed5d2df7d4fff4f1c0a848a91e86b
---
bpfloader/bpfloader.rc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bpfloader/bpfloader.rc b/bpfloader/bpfloader.rc
index 31747fb..d95cdbd 100644
--- a/bpfloader/bpfloader.rc
+++ b/bpfloader/bpfloader.rc
@@ -5,5 +5,5 @@ service bpfloader /system/bin/bpfloader
# Actually only 8MB is needed, but since bpfloader runs as root, it shares
# the global rlimit. Once bpfloader is running as its own user in the
# future, it will have dedicated rlimit to itself and this can be 8MB.
- rlimit memlock 67108864 67108864
+ #rlimit memlock 67108864 67108864
oneshot
--
2.25.1