Skip to content
This repository has been archived by the owner on Dec 12, 2023. It is now read-only.

Commit

Permalink
rework: Nuke fuseblk genfs_context
Browse files Browse the repository at this point in the history
  • Loading branch information
ponces committed Sep 14, 2023
1 parent c2c0e3c commit d6dcbd8
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 3 deletions.
3 changes: 0 additions & 3 deletions evo.mk
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,5 @@ TARGET_BOOT_ANIMATION_RES := 1080

TARGET_SUPPORTS_QUICK_TAP := true

TARGET_USES_PREBUILT_VENDOR_SEPOLICY := true
TARGET_HAS_FUSEBLK_SEPOLICY_ON_VENDOR := true

PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
ro.system.ota.json_url=https://raw.githubusercontent.com/ponces/treble_build_evo/tiramisu/ota.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
From f9125a7dfacc50a1fe07b75f3686468cda416889 Mon Sep 17 00:00:00 2001
From: ChonDoit <[email protected]>
Date: Wed, 13 Sep 2023 09:04:29 +0000
Subject: [PATCH] sepolicy: Nuke fuseblk genfs_context

Change-Id: I84331f579a6926b7fc641bd7f013ff905bdfacc0
---
common/private/genfs_contexts | 4 ----
1 file changed, 4 deletions(-)

diff --git a/common/private/genfs_contexts b/common/private/genfs_contexts
index 79a7736..d096874 100644
--- a/common/private/genfs_contexts
+++ b/common/private/genfs_contexts
@@ -1,6 +1,2 @@
-ifelse(board_excludes_fuseblk_sepolicy, `true', ,
-genfscon fuseblk / u:object_r:vfat:s0
-)
-
genfscon sysfs /devices/virtual/timed_output/vibrator u:object_r:sysfs_vibrator:s0
genfscon sysfs /module/mmcblk/parameters/perdev_minors u:object_r:sysfs_perdev_minors:s0
--
2.34.1

0 comments on commit d6dcbd8

Please sign in to comment.