From be2e71959892224a74d57e85d62e583895820f4a Mon Sep 17 00:00:00 2001 From: Jiakai Zhang Date: Thu, 9 May 2024 04:03:18 +0000 Subject: [PATCH] Allow mounting and unmounting functionfs. Pixel has /dev/usb-ffs/adb, /dev/usb-ffs/mtp, and /dev/usb-ffs/ptp in type functionfs. Bug: 311377497 Change-Id: Id9388a0d420c712962804f6441c86cfb3c4e9e62 Test: adb shell cmd jobscheduler run android 27873781 --- private/dexopt_chroot_setup.te | 2 ++ 1 file changed, 2 insertions(+) diff --git a/private/dexopt_chroot_setup.te b/private/dexopt_chroot_setup.te index c34a30b29..5dd0e5deb 100644 --- a/private/dexopt_chroot_setup.te +++ b/private/dexopt_chroot_setup.te @@ -50,6 +50,7 @@ allow dexopt_chroot_setup { device devpts fs_bpf + functionfs fusectlfs linkerconfig_file metadata_file @@ -76,6 +77,7 @@ allow dexopt_chroot_setup { debugfs_tracing_debug devpts fs_bpf + functionfs fusectlfs labeledfs proc