manager: add module signature verification
fix site base
This commit is contained in:
@@ -52,6 +52,7 @@ object Natives {
|
||||
}
|
||||
|
||||
init {
|
||||
System.loadLibrary("zakosign")
|
||||
System.loadLibrary("zako")
|
||||
}
|
||||
|
||||
@@ -124,6 +125,9 @@ object Natives {
|
||||
*/
|
||||
external fun getManagersList(): ManagersList?
|
||||
|
||||
// 模块签名验证
|
||||
external fun verifyModuleSignature(modulePath: String): Boolean
|
||||
|
||||
private const val NON_ROOT_DEFAULT_PROFILE_KEY = "$"
|
||||
private const val NOBODY_UID = 9999
|
||||
|
||||
|
||||
Reference in New Issue
Block a user