Searched refs:SELINUX_ARG_INVALID (Results 1 – 6 of 6) sorted by relevance
/base/security/selinux_adapter/test/unittest/hap_restorecon/ |
D | unit_test.cpp | 217 EXPECT_EQ(-SELINUX_ARG_INVALID, test.HapFileRestorecon(g_hapFileInfoWithAplEmpty)); 219 EXPECT_EQ(-SELINUX_ARG_INVALID, test.HapFileRestorecon(g_hapFileInfoWithPathEmpty)); 221 EXPECT_EQ(-SELINUX_ARG_INVALID, test.HapFileRestorecon(g_hapFileInfoWithAplInvalid)); 316 … EXPECT_EQ(-SELINUX_ARG_INVALID, test.HapFileRestorecon(TEST_HAP_PATH, g_hapFileInfoWithAplEmpty)); 318 … EXPECT_EQ(-SELINUX_ARG_INVALID, test.HapFileRestorecon(EMPTY_STRING, g_hapFileInfoWithPathEmpty)); 320 …EXPECT_EQ(-SELINUX_ARG_INVALID, test.HapFileRestorecon(TEST_HAP_PATH, g_hapFileInfoWithAplInvalid)… 612 EXPECT_EQ(-SELINUX_ARG_INVALID, test.HapDomainSetcontext(g_hapDomainInfoWithAplEmpty)); 613 EXPECT_EQ(-SELINUX_ARG_INVALID, test.HapDomainSetcontext(g_hapDomainInfoWithInvalidApl)); 665 ASSERT_EQ(-SELINUX_ARG_INVALID, test.TypeSet(EMPTY_STRING, nullptr));
|
/base/security/selinux_adapter/interfaces/policycoreutils/include/ |
D | selinux_error.h | 29 SELINUX_ARG_INVALID, enumerator
|
/base/security/selinux_adapter/interfaces/policycoreutils/src/ |
D | selinux_error.cpp | 23 [SELINUX_ARG_INVALID] = "argument is invalid",
|
D | hap_restorecon.cpp | 225 return -SELINUX_ARG_INVALID; in HapFileRestorecon() 241 return -SELINUX_ARG_INVALID; in HapFileRestorecon() 424 return -SELINUX_ARG_INVALID; in HapDomainSetcontext() 517 return -SELINUX_ARG_INVALID; in TypeSet()
|
D | service_checker.cpp | 157 return -SELINUX_ARG_INVALID; in CheckServiceNameValid() 205 return -SELINUX_ARG_INVALID; in GetServiceContext()
|
/base/security/selinux_adapter/test/unittest/service_checker/ |
D | unit_test.cpp | 120 ASSERT_EQ(-SELINUX_ARG_INVALID, service.GetServiceCheck(getpid(), "")); 138 ASSERT_EQ(-SELINUX_ARG_INVALID, service.GetRemoteServiceCheck(getpid(), "")); 156 ASSERT_EQ(-SELINUX_ARG_INVALID, service.AddServiceCheck(getpid(), ""));
|