mirror of
https://github.com/openharmony/security_security_component_manager.git
synced 2026-08-24 14:33:25 -04:00
开机启动一次安全控件服务
Signed-off-by: lsq <linshuqing2@huawei.com> Change-Id: I05dbb13704473a75d87ccf5685f6a2a5d516a42a
This commit is contained in:
@@ -519,9 +519,6 @@ void SecCompClient::FinishStartSAFail()
|
||||
|
||||
void SecCompClient::LoadSecCompSa()
|
||||
{
|
||||
if (AccessToken::AccessTokenKit::CreateSecCompEnhanceKey() != SC_OK) {
|
||||
return;
|
||||
}
|
||||
if (!StartLoadSecCompSa()) {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -6,6 +6,14 @@
|
||||
"libpath": "libsecurity_component_service.z.so",
|
||||
"run-on-create": false,
|
||||
"distributed": false,
|
||||
"start-on-demand": {
|
||||
"param": [
|
||||
{
|
||||
"name": "bootevent.boot.completed",
|
||||
"value": "true"
|
||||
}
|
||||
]
|
||||
},
|
||||
"dump_level": 1
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user