-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sepolicy: Fix for WiFi upon resume from suspend.
- Loading branch information
Showing
1 changed file
with
38 additions
and
0 deletions.
There are no files selected for viewing
38 changes: 38 additions & 0 deletions
38
...tform/system/sepolicy.git/0008-sepolicy-Whitelist-domain.-It-is-a-fix-for-WiFi-upon.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,38 @@ | ||
From bd0db1e23276c553844cc1139268f45e12b9f677 Mon Sep 17 00:00:00 2001 | ||
From: mohit <[email protected]> | ||
Date: Wed, 14 Jul 2021 10:42:52 -0700 | ||
Subject: [PATCH] sepolicy: Whitelist domain. It is a fix for WiFi upon resume | ||
from suspend. | ||
|
||
--- | ||
prebuilts/api/30.0/public/property.te | 1 + | ||
public/property.te | 1 + | ||
2 files changed, 2 insertions(+) | ||
|
||
diff --git a/prebuilts/api/30.0/public/property.te b/prebuilts/api/30.0/public/property.te | ||
index 9a93518d6..ab8c51255 100644 | ||
--- a/prebuilts/api/30.0/public/property.te | ||
+++ b/prebuilts/api/30.0/public/property.te | ||
@@ -565,6 +565,7 @@ compatible_property_only(` | ||
# Neverallow coredomain to set vendor properties | ||
neverallow { | ||
coredomain | ||
+ -domain | ||
-init | ||
-system_writes_vendor_properties_violators | ||
} { | ||
diff --git a/public/property.te b/public/property.te | ||
index 9a93518d6..ab8c51255 100644 | ||
--- a/public/property.te | ||
+++ b/public/property.te | ||
@@ -565,6 +565,7 @@ compatible_property_only(` | ||
# Neverallow coredomain to set vendor properties | ||
neverallow { | ||
coredomain | ||
+ -domain | ||
-init | ||
-system_writes_vendor_properties_violators | ||
} { | ||
-- | ||
2.25.1 | ||
|