Dynamic load libselinux

This commit is contained in:
topjohnwu
2018-09-27 00:09:59 -04:00
parent 971a50d290
commit 1d53335ae5
17 changed files with 169 additions and 147 deletions

View File

@@ -4,6 +4,7 @@
*/
#include <stdio.h>
#include <limits.h>
#include "sepolicy.h"
#include "vector.h"

View File

@@ -7,8 +7,6 @@
#include <stdlib.h>
#define ALL NULL
#define SEPOL_PROC_DOMAIN "magisk"
#define SEPOL_FILE_DOMAIN "magisk_file"
// split policy paths
#define PLAT_POLICY_DIR "/system/etc/selinux/"

View File

@@ -1,3 +1,4 @@
#include "magisk.h"
#include "magiskpolicy.h"
#include "sepolicy.h"