You've already forked ReZygisk
mirror of
https://github.com/PerformanC/ReZygisk.git
synced 2025-09-06 06:37:01 +00:00
This commit adds the first base for C99 zygiskd, that is not fully working or code-ready.
23 lines
320 B
C
23 lines
320 B
C
#ifndef COMMON_H
|
|
#define COMMON_H
|
|
|
|
#include "../constants.h"
|
|
|
|
enum RootImpl {
|
|
None,
|
|
Multiple, /* INFO: I know. */
|
|
KernelSU
|
|
};
|
|
|
|
void root_impls_setup(void);
|
|
|
|
enum RootImpl get_impl(void);
|
|
|
|
bool uid_granted_root(uid_t uid);
|
|
|
|
bool uid_should_umount(uid_t uid);
|
|
|
|
bool uid_is_manager(uid_t uid);
|
|
|
|
#endif /* COMMON_H */
|