/base/security/selinux_adapter/interfaces/policycoreutils/include/ |
H A D | hap_restorecon.h | 47 unsigned int hapFlags = 0; member 53 unsigned int hapFlags = 0; member 71 char **secontextPtr, unsigned int hapFlags); 74 context_t con, unsigned int hapFlags);
|
/base/startup/appspawn/modules/sandbox/ |
H A D | sandbox_adapter.cpp | 48 hapFileInfo.hapFlags = msgDomainInfo->hapFlags; in MakeAtomicServiceDir() 50 hapFileInfo.hapFlags |= SELINUX_HAP_DEBUGGABLE; in MakeAtomicServiceDir()
|
H A D | sandbox_utils.cpp | 403 hapFileInfo.hapFlags = msgDomainInfo->hapFlags; 405 hapFileInfo.hapFlags |= SELINUX_HAP_DEBUGGABLE;
|
/base/security/selinux_adapter/test/unittest/hap_restorecon/ |
H A D | unit_test.cpp | 78 .hapFlags = 1, 86 .hapFlags = 1, 94 .hapFlags = 1, 102 .hapFlags = 1, 110 .hapFlags = 1, 118 .hapFlags = 1, 126 .hapFlags = 1, 134 .hapFlags = 0, 142 .hapFlags = 1, 150 .hapFlags [all...] |
/base/startup/appspawn/modules/common/ |
H A D | appspawn_adapter.cpp | 113 hapDomainInfo.hapFlags = msgDomainInfo->hapFlags; in SetSelinuxCon() 115 hapDomainInfo.hapFlags |= SELINUX_HAP_DEBUGGABLE; in SetSelinuxCon() 118 hapDomainInfo.hapFlags |= SELINUX_HAP_DLP; in SetSelinuxCon() 121 hapDomainInfo.hapFlags |= SELINUX_HAP_INPUT_ISOLATE; in SetSelinuxCon()
|
/base/security/selinux_adapter/framework/policycoreutils/src/ |
H A D | hap_restorecon.cpp | 416 int res = HapLabelLookup(hapFileInfo.apl, hapFileInfo.packageName, newSecontext, hapFileInfo.hapFlags); in GetSecontext() 425 char **secontextPtr, unsigned int hapFlags) in HapLabelLookup() 438 int res = HapContextsLookup(false, apl, packageName, con, hapFlags); in HapLabelLookup() 499 int res = HapContextsLookup(true, hapDomainInfo.apl, hapDomainInfo.packageName, con, hapDomainInfo.hapFlags); in HapDomainSetcontext() 538 context_t con, unsigned int hapFlags) in HapContextsLookup() 550 if (hapFlags & SELINUX_HAP_INPUT_ISOLATE) { in HapContextsLookup() 551 if (hapFlags & SELINUX_HAP_DEBUGGABLE) { in HapContextsLookup() 558 } else if (hapFlags & SELINUX_HAP_DLP) { in HapContextsLookup() 561 } else if (hapFlags & SELINUX_HAP_RESTORECON_PREINSTALLED_APP) { in HapContextsLookup() 564 } else if (hapFlags in HapContextsLookup() 424 HapLabelLookup(const std::string &apl, const std::string &packageName, char **secontextPtr, unsigned int hapFlags) HapLabelLookup() argument 537 HapContextsLookup(bool isDomain, const std::string &apl, const std::string &packageName, context_t con, unsigned int hapFlags) HapContextsLookup() argument [all...] |
/base/security/selinux_adapter/framework/tools/hap_restorecon/ |
H A D | test.cpp | 140 .hapFlags = testCmd.isPreinstalledApp ? 1 : 0 in main() 148 .hapFlags = testCmd.isPreinstalledApp ? 1 : 0 in main()
|
/base/startup/appspawn/modules/module_engine/include/ |
H A D | appspawn_msg.h | 112 uint32_t hapFlags; member
|
/base/startup/appspawn/interfaces/innerkits/include/ |
H A D | appspawn.h | 204 * @param hapFlags hap of flags 208 int AppSpawnReqMsgSetAppDomainInfo(AppSpawnReqMsgHandle reqHandle, uint32_t hapFlags, const char *apl);
|
/base/startup/appspawn/test/unittest/app_spawn_client_test/ |
H A D | app_spawn_interface_test.cpp | 277 const uint32_t hapFlags[] = {1}; in HWTEST_F() local 281 for (size_t j = 0; j < ARRAY_LENGTH(hapFlags); j++) { in HWTEST_F() 284 ret = AppSpawnReqMsgSetAppDomainInfo(inputHandle[i], hapFlags[j], apl[k]); in HWTEST_F()
|
H A D | app_spawn_client_test.cpp | 469 APPSPAWN_CHECK(1 == domainInfo->hapFlags, break, "Invalid hapFlags %{public}d", domainInfo->hapFlags); in HWTEST_F()
|
/base/startup/appspawn/test/fuzztest/appspawnclient_fuzzer/ |
H A D | appspawnclient_fuzzer.cpp | 181 uint32_t hapFlags = static_cast<uint32_t>(size); in FuzzAppSpawnReqMsgSetAppDomainInfo() local 182 (void)AppSpawnReqMsgSetAppDomainInfo(reqHandle, hapFlags, apl.c_str()); in FuzzAppSpawnReqMsgSetAppDomainInfo()
|
/base/startup/appspawn/interfaces/innerkits/client/ |
H A D | appspawn_msg.c | 473 int AppSpawnReqMsgSetAppDomainInfo(AppSpawnReqMsgHandle reqHandle, uint32_t hapFlags, const char *apl) in AppSpawnReqMsgSetAppDomainInfo() argument 481 msgDomainInfo.hapFlags = hapFlags; in AppSpawnReqMsgSetAppDomainInfo()
|
/base/startup/appspawn/test/moduletest/ |
H A D | appspawn_test_cmder.cpp | 223 uint32_t hapFlags = GetIntValueFromJsonObj(config, "hap-flags", 0); in AddDomainInfoFromJson() local 225 int ret = AppSpawnReqMsgSetAppDomainInfo(reqHandle, hapFlags, apl); in AddDomainInfoFromJson()
|
/base/startup/appspawn/standard/ |
H A D | appspawn_msgmgr.c | 396 APPSPAPWN_DUMP("App domain info hap: 0x%{public}x apl: \"%{public}s\"", domainInfo->hapFlags, domainInfo->apl)); in DumpAppSpawnMsg()
|
/base/startup/appspawn/test/unittest/ |
H A D | app_spawn_test_helper.cpp | 51 uint32_t hapFlags; member
|