mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-24 18:45:28 +00:00
28 lines
463 B
C
28 lines
463 B
C
#ifndef MAGISK_HIDE_H
|
|
#define MAGISK_HIDE_H
|
|
|
|
#include <pthread.h>
|
|
|
|
// Kill process
|
|
void kill_proc(int pid);
|
|
|
|
// Process monitor
|
|
void proc_monitor();
|
|
|
|
// Utility functions
|
|
void manage_selinux();
|
|
void hide_sensitive_props();
|
|
void relink_sbin();
|
|
|
|
// List managements
|
|
int add_list(char *proc);
|
|
int rm_list(char *proc);
|
|
int init_list();
|
|
int destroy_list();
|
|
|
|
extern int hideEnabled;
|
|
extern struct vector *hide_list;
|
|
extern pthread_mutex_t hide_lock, file_lock;
|
|
|
|
#endif
|