mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-12-13 18:31:48 +00:00
Use pathname local socket
This commit is contained in:
@@ -2,9 +2,6 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
// magiskinit will hex patch this constant,
|
||||
// appending \0 to prevent the compiler from reusing the string for "1"
|
||||
#define MAIN_SOCKET "d30138f2310a9fb9c54a3e0c21f58591\0"
|
||||
#define JAVA_PACKAGE_NAME "com.topjohnwu.magisk"
|
||||
#define LOGFILE "/cache/magisk.log"
|
||||
#define SECURE_DIR "/data/adb"
|
||||
@@ -28,6 +25,8 @@ extern std::string MAGISKTMP;
|
||||
#define ROOTMNT ROOTOVL "/.mount_list"
|
||||
#define ZYGISKBIN INTLROOT "/zygisk"
|
||||
#define SELINUXMOCK INTLROOT "/selinux"
|
||||
#define MAIN_CONFIG INTLROOT "/config"
|
||||
#define MAIN_SOCKET INTLROOT "/socket"
|
||||
|
||||
constexpr const char *applet_names[] = { "su", "resetprop", nullptr };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user