Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
Magisk
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Magisk
Commits
619b8058
Commit
619b8058
authored
Sep 11, 2017
by
topjohnwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add secilc
parent
86625378
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
5 deletions
+8
-5
Android.mk
jni/Android.mk
+3
-1
magisk.c
jni/daemon/magisk.c
+2
-2
magisk.h
jni/include/magisk.h
+1
-0
magiskpolicy
jni/magiskpolicy
+1
-1
selinux
jni/selinux
+1
-1
No files found.
jni/Android.mk
View file @
619b8058
...
...
@@ -13,7 +13,8 @@ LOCAL_SHARED_LIBRARIES := libsqlite libselinux
LOCAL_C_INCLUDES := \
$(LOCAL_PATH)/include \
$(LOCAL_PATH)/external \
$(LOCAL_PATH)/selinux/libsepol/include
$(LOCAL_PATH)/selinux/libsepol/include \
$(LOCAL_PATH)/selinux/libsepol/cil/include
LOCAL_SRC_FILES := \
daemon/magisk.c \
...
...
@@ -32,6 +33,7 @@ LOCAL_SRC_FILES := \
magiskpolicy/magiskpolicy.c \
magiskpolicy/rules.c \
magiskpolicy/sepolicy.c \
magiskpolicy/secilc.c \
magiskpolicy/api.c \
resetprop/resetprop.cpp \
resetprop/system_properties.cpp \
...
...
jni/daemon/magisk.c
View file @
619b8058
...
...
@@ -11,10 +11,10 @@
char
*
argv0
;
char
*
applet
[]
=
{
"su"
,
"resetprop"
,
"magiskpolicy"
,
"supolicy"
,
"sepolicy-inject"
,
"magiskhide"
,
NULL
};
{
"su"
,
"resetprop"
,
"magisk
secilc"
,
"magisk
policy"
,
"supolicy"
,
"sepolicy-inject"
,
"magiskhide"
,
NULL
};
int
(
*
applet_main
[])
(
int
,
char
*
[])
=
{
su_client_main
,
resetprop_main
,
magiskpolicy_main
,
magiskpolicy_main
,
magiskpolicy_main
,
magiskhide_main
,
NULL
};
{
su_client_main
,
resetprop_main
,
secilc_main
,
magiskpolicy_main
,
magiskpolicy_main
,
magiskpolicy_main
,
magiskhide_main
,
NULL
};
// Global error hander function
// Should be changed each thread/process
...
...
jni/include/magisk.h
View file @
619b8058
...
...
@@ -79,6 +79,7 @@ extern int (*applet_main[]) (int, char *[]);
int
magiskhide_main
(
int
argc
,
char
*
argv
[]);
int
magiskpolicy_main
(
int
argc
,
char
*
argv
[]);
int
su_client_main
(
int
argc
,
char
*
argv
[]);
int
secilc_main
(
int
argc
,
char
*
argv
[]);
#ifdef __cplusplus
extern
"C"
{
...
...
magiskpolicy
@
6600772d
Subproject commit
3c6a170138cacb1f817c65181bd6e3ef15cfca9e
Subproject commit
6600772dca2c02a2528429759aeb7856361bfcb4
selinux
@
2fefdfc4
Subproject commit
3d9b8bcb0561e8b2fd8cf54b150e458d35c73a18
Subproject commit
2fefdfc40fe5e675253fcaf03558ca3dca0a0550
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment