This article mainly records the method of modifying selinux permissions
Permission modification#
Method 1: adb online modification seLinux#
Enforcing (indicating opened), Permissive( Indicates closed ()
getenforce; //Get the current seLinux state setenforce 1; //Open seLinuxsetenforce 0; //close seLinux
Method 2: Close completely from kernel#
Modify LINUX/android/kernel/arch/arm64/configs/xxx_defconfig file (xxx is generally the name of the mobile phone product), remove the configuration item of CONFIG_SECURITY_SELINUX=y
Method 3: Add permission in sepolicy#
• modify the basis, by the command cat /proc/kmsg
The role of a .linux device driver Kernel: used to manage hardware and software resources, and pro
First, switch snmp configuration, the following is the configuration command of H3C 5500 series: snm
First look at the TCP server side of the program: #include <stdlib.h> #include <stdio.h>
One of the best things about Linux is that you can go deep into the operating system to explore how
Linux operating system shell command line tips sharing
10 most common questions about Linux
Linux does not have disk defragmentation function
How to modify the Linux host name
Linux environment programming - ftok () function detailed
Linux system single network card batch add different IP
Solve the linux system CentOS adjust home and root partition size
Five improvements to Ubuntu Lucid Alpha 2 released
Linux installation ImageMagick and JMagick complete process and configuration tutorial
Win7 thumbnails can't be displayed? Experts help you get it
Win10 computer prompt "Click here to enter your latest credentials" What should I do?
What if the Win7 language bar is missing? Win7 system to retrieve the language bar method
Win7 64-bit camera driver display yellow exclamation mark how to solve
Let Windows 7 use 360-day free method to get
System home - the magical method of Windows7 self-repair function
OPPO released Find 5 latest 130216 firmware
Windows articles set VPN boot automatic connection method diagram tutorial
How to do the computer directly shuts off the power supply and causes the hard disk damage?