mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-10-01 01:35:54 -04:00
4ce35a3c60
Fixed up: LineageOS-16.0/android_packages_apps_Backgrounds/308977.patch LineageOS-16.0/android_packages_apps_Settings/0001-Captive_Portal_Toggle.patch LineageOS-17.1/android_packages_apps_Settings/0001-Captive_Portal_Toggle.patch LineageOS-18.1/android_packages_apps_Settings/0001-Captive_Portal_Toggle.patch Must review again: LineageOS-14.1/android_packages_apps_PackageInstaller/64d8b44.patch Signed-off-by: Tad <tad@spotco.us>
29 lines
1.0 KiB
Diff
29 lines
1.0 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: syphyr <syphyr@gmail.com>
|
|
Date: Mon, 20 May 2019 00:04:28 +0200
|
|
Subject: [PATCH] sepolicy: msm_irqbalance: Allow read for stats and interrupts
|
|
|
|
After hardening /proc, msm_irqbalance requires additional sepolicy
|
|
changes to read stats and interrupts.
|
|
|
|
Fixes: restrict access to timing information in /proc
|
|
Change-Id: I547f8dd13c6422f057884814e3187dc9ecebfe00
|
|
---
|
|
common/msm_irqbalanced.te | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/common/msm_irqbalanced.te b/common/msm_irqbalanced.te
|
|
index d4c3e57d..f9dd9004 100644
|
|
--- a/common/msm_irqbalanced.te
|
|
+++ b/common/msm_irqbalanced.te
|
|
@@ -5,5 +5,6 @@ init_daemon_domain(msm_irqbalanced)
|
|
|
|
allow msm_irqbalanced cgroup:dir { create add_name };
|
|
allow msm_irqbalanced { proc sysfs_devices_system_cpu }:file w_file_perms;
|
|
+allow msm_irqbalanced { proc_stat proc_interrupts }:file r_file_perms;
|
|
allow msm_irqbalanced self:capability { setuid setgid dac_override };
|
|
r_dir_file(msm_irqbalanced, sysfs_rqstats);
|
|
--
|
|
2.31.1
|
|
|