[MT8766][Android12] Add application installation whitelist or blacklist

Article directory Basic information of development platform Problem Description Solution Basic information on development platform Chip: MT8766 Version: Android 12 kernel: msm-4.19 Problem description During project development, some customers often require the system to perform signature verification when installing applications; that is, the system does not allow any application installation by default. When the application […]

Android 11 adds all privileged permissions whitelist

Environment Android 11 SDK Requirements After modifying some built-in system APPs and adding some permissions, it may cause the problem of restarting after burning the firmware. When running logcat, an error similar to the following will be printed: 023-11-08 11:36:23.854 4173-4173/system_process E/AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: main java.lang.IllegalStateException: Signature|privileged permissions not in privapp-permissions […]

Android system implements low-memory whitelist anti-LMK principle analysis

Background knowledge In order to ensure the smoothness and stability of the system, the Android system will take some measures to release the memory when the memory is insufficient, such as killing some background processes. The system will decide which processes to kill based on the importance of each process and the size of the […]

About the use of whitelist configuration in the gateway (AntPathMatcher)

About the use of whitelist configuration in the gateway In the project, there are often functions that need to be added to the whitelist and blacklist, and the general processing method is to configure and configure the gateway. The toolkit class AntPathMatcher provided in Spring can be easily processed. 1 Description Spring provides a default […]

sprngboot implements whitelist + current limiting at the gateway layer

Gateway whitelist + current limit sprngboot implements whitelist + current limiting at the gateway layer 1. Implementation of current limiting 1.1 Current limit config 1.2 Current Limiting Filter 2. Whitelist implementation sprngboot implements whitelist + current limiting at the gateway layer Refuse nonsense, go to the code 1. Current limiting implementation 1.1 Current limiting config […]

Linux configuration system whitelist gcc/g++

Recommended books “Programmer’s Self-cultivation” “In-depth understanding of computer systems” Configure system whitelist When we use ordinary users, sometimes we need to use the sudo command to directly elevate the authority of a certain command, because some commands may be due to the path used or other reasons, ordinary users do not have permission to use […]