mirror of
https://gitee.com/openharmony/security_permission_lite
synced 2024-11-27 08:50:47 +00:00
1
Signed-off-by: zhangwenzhi <zhangwenzhi3@huawei.com>
This commit is contained in:
parent
bff3672321
commit
90ea4227e8
@ -377,6 +377,19 @@ FeaturePolicy wifiFeature[] = {
|
||||
},
|
||||
};
|
||||
|
||||
FeaturePolicy huksFeature[] = {
|
||||
{
|
||||
"huks_feature",
|
||||
{
|
||||
{
|
||||
.type = RANGE,
|
||||
.uidMin = 0,
|
||||
.uidMax = __INT_MAX__,
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
static PolicySetting g_presetPolicies[] = {
|
||||
{"permissionms", pmsFeature, 2},
|
||||
{"abilityms", amsFeature, 2},
|
||||
@ -399,7 +412,8 @@ static PolicySetting g_presetPolicies[] = {
|
||||
{"devauth_svc", devAuthFeature, 1},
|
||||
{"battery_service", batteryFeature, 1},
|
||||
{"dev_mgr_svc", deviceManagerFeature, 1},
|
||||
{"wifisrvlite", wifiFeature, 3}
|
||||
{"wifisrvlite", wifiFeature, 3},
|
||||
{"huks_feature", 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};
|
||||
static unsigned int g_systemSvcUids[] = {1, 2, 0, 6, 7, 8, 9, 10, 11, 12, 19};
|
||||
|
||||
static unsigned int g_systemSvcUidSize = sizeof(g_systemSvcUids) / sizeof(unsigned int);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user