Move all permission check into daemon.cpp

This commit is contained in:
topjohnwu
2022-03-01 02:58:39 -08:00
committed by John Wu
parent be7586137c
commit 9968af0785
5 changed files with 30 additions and 24 deletions

View File

@@ -28,6 +28,7 @@ enum : int {
SQLITE_CMD,
REMOVE_MODULES,
ZYGISK,
ZYGISK_PASSTHROUGH,
END,
};
}
@@ -38,7 +39,7 @@ enum : int {
ERROR = -1,
OK = 0,
ROOT_REQUIRED,
INVALID_REQUEST,
ACCESS_DENIED,
END
};
}