summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Lawrence <paullawrence@google.com>2022-03-11 21:08:34 +0000
committerAlessio Balsini <balsini@google.com>2022-03-14 13:51:23 +0000
commitbc064aefacda6f09b1bcd54651346063e52f8f6e (patch)
tree7b4df6457a12d038c25135591806105213c34ca4
parent44dfa0cfe8cbeddd5d44240a9a1100d93271045d (diff)
downloadMediaProvider-bc064aefacda6f09b1bcd54651346063e52f8f6e.tar.gz
Disable fuse-bpf
ag/17002484 does not disable fuse-bpf as hoped when the device has once booted with fuse-bpf enabled, since the persistent propery persists Change name of property as read to disable feature regardless of current state Bug: 221892618 Test: fuse-bpf is disabled even if persist.sys.fuse.bpf.enable is true Change-Id: Iea2074a3a937149470d498584c3d6b88dab3f399
-rw-r--r--jni/FuseDaemon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/jni/FuseDaemon.cpp b/jni/FuseDaemon.cpp
index 37fc75abb..015c5815e 100644
--- a/jni/FuseDaemon.cpp
+++ b/jni/FuseDaemon.cpp
@@ -2265,7 +2265,7 @@ void FuseDaemon::Start(android::base::unique_fd fd, const std::string& path,
return;
}
- bool bpf_enabled = android::base::GetBoolProperty("persist.sys.fuse.bpf.enable", false);
+ bool bpf_enabled = android::base::GetBoolProperty("persist.sys.fuse.bpf.override", false);
int bpf_fd = -1;
if (bpf_enabled) {
LOG(INFO) << "Using FUSE BPF";