mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-27 20:15:29 +00:00
22 lines
453 B
C
22 lines
453 B
C
#ifndef MAGISK_HIDE_H
|
|
#define MAGISK_HIDE_H
|
|
|
|
#define HIDELIST "/magisk/.core/magiskhide/hidelist"
|
|
#define DUMMYPATH "/dev/magisk/dummy"
|
|
#define ENFORCE_FILE "/sys/fs/selinux/enforce"
|
|
#define POLICY_FILE "/sys/fs/selinux/policy"
|
|
|
|
// Kill process
|
|
void kill_proc(int pid);
|
|
|
|
// Hide daemon
|
|
int hide_daemon();
|
|
|
|
// Process monitor
|
|
void *proc_monitor(void *args);
|
|
|
|
extern int sv[2], hide_pid, isEnabled;
|
|
extern struct vector *hide_list, *new_list;
|
|
|
|
#endif
|