From 82c67ccc25e8e2eebe53a7ec70867277dfde1f62 Mon Sep 17 00:00:00 2001 From: "rick.chan" Date: Thu, 21 Jan 2021 20:06:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=20setenforce=20=E5=8F=82?= =?UTF-8?q?=E6=95=B0.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: rick.chan --- .../OperatingSystem/Android/SELinux/Android_SELinux_详解.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Software/Development/OperatingSystem/Android/SELinux/Android_SELinux_详解.md b/Software/Development/OperatingSystem/Android/SELinux/Android_SELinux_详解.md index d0a2d5d..3e96860 100644 --- a/Software/Development/OperatingSystem/Android/SELinux/Android_SELinux_详解.md +++ b/Software/Development/OperatingSystem/Android/SELinux/Android_SELinux_详解.md @@ -14,7 +14,7 @@ SELinux 有三种工作模式:强制模式(enforcing)、宽容模式(per ```bash adb root -adb shell setenforce 0 +adb shell setenforce <0|1> ``` 在 Android 系统下,可通过设置 Bootargs 来改变 SELinux 的工作模式,参数、取值范围及说明如下: