diff options
author | Amit Pundir <amit.pundir@linaro.org> | 2022-03-28 19:20:04 +0530 |
---|---|---|
committer | Amit Pundir <amit.pundir@linaro.org> | 2022-03-28 19:20:04 +0530 |
commit | 8c86e3763675f99cd63c6e30d2a951160ac456d8 (patch) | |
tree | 7387274a2469591f13faac17c59c0cb4ed183e8d | |
parent | 8a3b0e3b88f52c55b11b6296356ed7a0af366004 (diff) |
sepolicy: Fix rmtfs sysfs path for v5.18+ kernel versions
Upstream commit 63a4021fef47 ("arm64: dts: qcom: sdm845:
rename memory@ nodes to more descriptive names") in v5.18
merge window broke selinux policies for rmtfs. So add the
new path to fix those selinux denials on v5.18+ kernel
versions
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Change-Id: I9ad554fc2d5d3f3fbb66a1b9dd0dd46e62f9ff1d
-rw-r--r-- | sepolicy/genfs_contexts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sepolicy/genfs_contexts b/sepolicy/genfs_contexts index e8ddb12..2a50d9c 100644 --- a/sepolicy/genfs_contexts +++ b/sepolicy/genfs_contexts @@ -1,4 +1,5 @@ genfscon sysfs /devices/platform/88f00000.memory/rmtfs u:object_r:sysfs_rmtfs:s0 +genfscon sysfs /devices/platform/88f00000.rmtfs/rmtfs u:object_r:sysfs_rmtfs:s0 genfscon sysfs /devices/platform/remoteproc-adsp/remoteproc u:object_r:sysfs_remoteproc:s0 genfscon sysfs /devices/platform/remoteproc-cdsp/remoteproc u:object_r:sysfs_remoteproc:s0 genfscon sysfs /devices/platform/soc@0/4080000.remoteproc u:object_r:sysfs_remoteproc:s0 |