mirror of
https://gitee.com/openharmony/security_permission_lite
synced 2024-11-27 08:50:47 +00:00
commit
c83f30225a
@ -390,6 +390,19 @@ FeaturePolicy devAttestFeature[] = {
|
||||
},
|
||||
};
|
||||
|
||||
FeaturePolicy huksFeature[] = {
|
||||
{
|
||||
"huks_feature",
|
||||
{
|
||||
{
|
||||
.type = RANGE,
|
||||
.uidMin = 0,
|
||||
.uidMax = __INT_MAX__,
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
static PolicySetting g_presetPolicies[] = {
|
||||
{"permissionms", pmsFeature, 2},
|
||||
{"abilityms", amsFeature, 2},
|
||||
@ -413,7 +426,8 @@ static PolicySetting g_presetPolicies[] = {
|
||||
{"battery_service", batteryFeature, 1},
|
||||
{"dev_mgr_svc", deviceManagerFeature, 1},
|
||||
{"wifisrvlite", wifiFeature, 3},
|
||||
{"attest_service", devAttestFeature, 1}
|
||||
{"attest_service", devAttestFeature, 1},
|
||||
{"huks_service", huksFeature, 1}
|
||||
};
|
||||
|
||||
static int g_presetPolicySize = sizeof(g_presetPolicies) / sizeof(PolicySetting);
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include "policy_preset_product.h"
|
||||
#include "policy_registry.h"
|
||||
|
||||
static unsigned int g_systemSvcUids[] = {1, 2, 0, 6, 7, 8, 9, 10, 11, 19, 20};
|
||||
static unsigned int g_systemSvcUids[] = {1, 2, 0, 6, 7, 8, 9, 10, 11, 12, 19, 20};
|
||||
|
||||
static unsigned int g_systemSvcUidSize = sizeof(g_systemSvcUids) / sizeof(unsigned int);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user