Home
last modified time | relevance | path

Searched refs:SelinuxKmsg (Results 1 – 5 of 5) sorted by relevance

/base/security/selinux_adapter/test/unittest/selinux_common_test/
Dunit_test.cpp146 EXPECT_EQ(0, SelinuxKmsg(SELINUX_KINFO, "test"));
147 EXPECT_EQ(0, SelinuxKmsg(SELINUX_KWARN, "test"));
148 EXPECT_EQ(0, SelinuxKmsg(SELINUX_KERROR, "test"));
149 EXPECT_EQ(0, SelinuxKmsg(SELINUX_KAVC, "test"));
161 EXPECT_EQ(-1, SelinuxKmsg(SELINUX_KINFO, "test"));
162 EXPECT_EQ(0, SelinuxKmsg(SELINUX_KWARN, "test"));
163 EXPECT_EQ(0, SelinuxKmsg(SELINUX_KERROR, "test"));
164 EXPECT_EQ(0, SelinuxKmsg(SELINUX_KAVC, "test"));
176 EXPECT_EQ(-1, SelinuxKmsg(SELINUX_KINFO, "test"));
177 EXPECT_EQ(-1, SelinuxKmsg(SELINUX_KWARN, "test"));
[all …]
/base/security/selinux_adapter/interfaces/policycoreutils/include/
Dselinux_klog.h32 int SelinuxKmsg(int logLevel, const char *fmt, ...);
/base/security/selinux_adapter/interfaces/policycoreutils/src/
Dselinux_klog.c46 int SelinuxKmsg(int logLevel, const char *fmt, ...) in SelinuxKmsg() function
Dparam_checker.c54 cb.func_log = SelinuxKmsg; in SelinuxSetCallback()
Dload_policy.cpp51 cb.func_log = SelinuxKmsg; in InitSelinuxLog()