Move logging.hpp

This commit is contained in:
topjohnwu 2020-06-17 01:17:28 -07:00
parent ec3705f2ed
commit 1e2f776b83
27 changed files with 5 additions and 25 deletions

View File

@ -5,7 +5,6 @@
#include <socket.hpp> #include <socket.hpp>
#include <utils.hpp> #include <utils.hpp>
#include <logging.hpp>
#define ABS_SOCKET_LEN(sun) (sizeof(sa_family_t) + strlen(sun->sun_path + 1) + 1) #define ABS_SOCKET_LEN(sun) (sizeof(sa_family_t) + strlen(sun->sun_path + 1) + 1)

View File

@ -1,6 +1,5 @@
#pragma once #pragma once
#include <logging.hpp>
#include <string> #include <string>
#define MAIN_SOCKET "d30138f2310a9fb9c54a3e0c21f58591" #define MAIN_SOCKET "d30138f2310a9fb9c54a3e0c21f58591"

View File

@ -6,7 +6,6 @@
#include <vector> #include <vector>
#include <utils.hpp> #include <utils.hpp>
#include <logging.hpp>
#include "init.hpp" #include "init.hpp"

View File

@ -5,7 +5,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <vector> #include <vector>
#include <logging.hpp> #include <utils.hpp>
struct cmdline { struct cmdline {
bool skip_initramfs; bool skip_initramfs;

View File

@ -5,7 +5,6 @@
#include <vector> #include <vector>
#include <utils.hpp> #include <utils.hpp>
#include <logging.hpp>
#include <selinux.hpp> #include <selinux.hpp>
#include <magisk.hpp> #include <magisk.hpp>

View File

@ -1,6 +1,5 @@
#include <magisk.hpp> #include <magisk.hpp>
#include <utils.hpp> #include <utils.hpp>
#include <logging.hpp>
#include <socket.hpp> #include <socket.hpp>
#include "init.hpp" #include "init.hpp"

View File

@ -10,7 +10,6 @@
#include <mincrypt/sha.h> #include <mincrypt/sha.h>
#include <mincrypt/sha256.h> #include <mincrypt/sha256.h>
#include <utils.hpp> #include <utils.hpp>
#include <logging.hpp>
#include "bootimg.hpp" #include "bootimg.hpp"
#include "magiskboot.hpp" #include "magiskboot.hpp"

View File

@ -13,7 +13,6 @@
#include <lz4frame.h> #include <lz4frame.h>
#include <lz4hc.h> #include <lz4hc.h>
#include <logging.hpp>
#include <utils.hpp> #include <utils.hpp>
#include "magiskboot.hpp" #include "magiskboot.hpp"

View File

@ -5,7 +5,6 @@
#include <sys/mman.h> #include <sys/mman.h>
#include <mincrypt/sha.h> #include <mincrypt/sha.h>
#include <logging.hpp>
#include <utils.hpp> #include <utils.hpp>
#include "magiskboot.hpp" #include "magiskboot.hpp"

View File

@ -13,7 +13,6 @@
#include <vector> #include <vector>
#include <bitset> #include <bitset>
#include <logging.hpp>
#include <utils.hpp> #include <utils.hpp>
#include "magiskhide.hpp" #include "magiskhide.hpp"

View File

@ -1,4 +1,3 @@
#include <logging.hpp>
#include <utils.hpp> #include <utils.hpp>
#include <magiskpolicy.hpp> #include <magiskpolicy.hpp>

View File

@ -6,7 +6,6 @@
#include <cil/cil.h> #include <cil/cil.h>
#include <utils.hpp> #include <utils.hpp>
#include <logging.hpp>
#include <stream.hpp> #include <stream.hpp>
#include <magiskpolicy.hpp> #include <magiskpolicy.hpp>

View File

@ -1,4 +1,4 @@
#include <logging.hpp> #include <utils.hpp>
#include <magiskpolicy.hpp> #include <magiskpolicy.hpp>
#include "sepolicy.hpp" #include "sepolicy.hpp"

View File

@ -1,7 +1,6 @@
#include <sepol/policydb/policydb.h> #include <sepol/policydb/policydb.h>
#include <magiskpolicy.hpp> #include <magiskpolicy.hpp>
#include <logging.hpp>
#include <utils.hpp> #include <utils.hpp>
#include "sepolicy.hpp" #include "sepolicy.hpp"

View File

@ -3,7 +3,6 @@
#include <string> #include <string>
#include <magiskpolicy.hpp> #include <magiskpolicy.hpp>
#include <logging.hpp>
#include <utils.hpp> #include <utils.hpp>
#include "sepolicy.hpp" #include "sepolicy.hpp"

View File

@ -2,7 +2,6 @@
#include <string> #include <string>
#include <map> #include <map>
#include <logging.hpp>
#include <system_properties.h> #include <system_properties.h>

View File

@ -3,7 +3,6 @@
#include <vector> #include <vector>
#include <map> #include <map>
#include <logging.hpp>
#include <resetprop.hpp> #include <resetprop.hpp>
#include <utils.hpp> #include <utils.hpp>

View File

@ -7,7 +7,6 @@
#include <daemon.hpp> #include <daemon.hpp>
#include <utils.hpp> #include <utils.hpp>
#include <logging.hpp>
#include "su.hpp" #include "su.hpp"

View File

@ -17,7 +17,7 @@
#include <errno.h> #include <errno.h>
#include <pthread.h> #include <pthread.h>
#include <logging.hpp> #include <utils.hpp>
#include "pts.hpp" #include "pts.hpp"

View File

@ -12,7 +12,6 @@
#include <sys/wait.h> #include <sys/wait.h>
#include <sys/mount.h> #include <sys/mount.h>
#include <logging.hpp>
#include <daemon.hpp> #include <daemon.hpp>
#include <utils.hpp> #include <utils.hpp>
#include <selinux.hpp> #include <selinux.hpp>

View File

@ -5,7 +5,6 @@
#include <algorithm> #include <algorithm>
#include <utils.hpp> #include <utils.hpp>
#include <logging.hpp>
#include <cpio.hpp> #include <cpio.hpp>
using namespace std; using namespace std;

View File

@ -4,3 +4,4 @@
#include "../xwrap.hpp" #include "../xwrap.hpp"
#include "../files.hpp" #include "../files.hpp"
#include "../misc.hpp" #include "../misc.hpp"
#include "../logging.hpp"

View File

@ -1,7 +1,7 @@
#include <cstdio> #include <cstdio>
#include <cstdlib> #include <cstdlib>
#include <logging.hpp> #include "logging.hpp"
#include <flags.hpp> #include <flags.hpp>
using namespace std; using namespace std;

View File

@ -15,7 +15,6 @@
#include <random> #include <random>
#include <string> #include <string>
#include <logging.hpp>
#include <utils.hpp> #include <utils.hpp>
using namespace std; using namespace std;

View File

@ -1,5 +1,4 @@
#include <utils.hpp> #include <utils.hpp>
#include <logging.hpp>
#include <stream.hpp> #include <stream.hpp>
static int strm_read(void *v, char *buf, int len) { static int strm_read(void *v, char *buf, int len) {

View File

@ -10,7 +10,6 @@
#include <sys/mman.h> #include <sys/mman.h>
#include <sys/sendfile.h> #include <sys/sendfile.h>
#include <logging.hpp>
#include <utils.hpp> #include <utils.hpp>
using namespace std; using namespace std;