From 38cfbb25efa6707d419f85140273d1a76f305a59 Mon Sep 17 00:00:00 2001 From: ThePedroo Date: Tue, 15 Jul 2025 05:31:54 -0300 Subject: [PATCH] fix: `Permission Denied` on `setns` in 3.19- kernels This commit fixes the issue where "setns" in older kernels will fail, as until 3.19 Linux used NSFS (Name Space File System) for namespaces (/proc/self/mnt/ns), which was not taken into consideration in ReZygisk SELinux rules. --- module/src/sepolicy.rule | 1 + 1 file changed, 1 insertion(+) diff --git a/module/src/sepolicy.rule b/module/src/sepolicy.rule index e2874f2..d62a99d 100644 --- a/module/src/sepolicy.rule +++ b/module/src/sepolicy.rule @@ -11,6 +11,7 @@ allow zygote su {lnk_file file} read allow zygote adb_data_file dir search allow zygote adb_data_file file * allow zygote proc file {read open} +allow zygote nsfs file {read open} allow zygote zygote process execmem allow system_server system_server process execmem allow zygote tmpfs file *