kernel: add package whitelist check for manager APKs

Co-authored-by: lamadaemon <i@lama.icu>
Co-authored-by: ShirkNeko <109797057+ShirkNeko@users.noreply.github.com>
Signed-off-by: ShirkNeko <109797057+ShirkNeko@users.noreply.github.com>
This commit is contained in:
ShirkNeko
2025-06-07 00:14:33 +08:00
parent 3b8445cdaa
commit aec76a388f
4 changed files with 47 additions and 13 deletions

View File

@@ -3,6 +3,8 @@
#include <linux/types.h>
bool is_manager_apk(char *path);
bool is_manager_apk(char *path, char *package);
bool is_package_whitelisted(char *package);
#endif