This repository has been archived by the owner on Dec 12, 2023. It is now read-only.
forked from AndyCGYan/lineage_build_unified
-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
24 additions
and
3 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
patches/personal/device_custom_sepolicy/0001-sepolicy-Nuke-fuseblk-genfs_context.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters