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 […]
Tag: whitelist
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 […]
How to configure access IP whitelist for Nginx
1. Nginx configuration access IP whitelist Sometimes deployed applications need to allow only certain IPs to be accessed, and other IPs are not allowed to access. In this case, it is necessary to set up an access whitelist; There are many ways to set up an access whitelist: 1. Configure through network firewall, such as […]
Android 13 method to add process whitelist
Directory 1 Introduction 2 Modification methods 1 Introduction This article mainly introduces how to prevent the process from being easily killed by lmkd by setting the process oomadj in Android 13. The starting point of this problem is: when I was conducting CTS testing, I found that the test process was always killed due to […]
IP whitelist + time period access control based on openresty
1. Install openresty I won’t talk about installing openresty here. If you need it, you can go to the official website of openresty to see how to install it. It’s very simple. OpenResty? – Open Source Official Site 2. Project purpose The main reason is that I was asked to make an nginx access control […]
Android 9.0 app process keep-alive whitelist
Overview During the custom development process of the Android 9 system rom, it is often necessary to implement keep-alive management for the app process. For example, when the system memory is insufficient, the app process cannot be closed, and even if you swipe up in the recent task, you cannot end the task process. Core […]
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 […]