Home
last modified time | relevance | path

Searched refs:Yama (Results 1 – 9 of 9) sorted by relevance

/external/libchrome/sandbox/linux/services/
Dyama_unittests.cc79 TEST(Yama, GetStatus) { in TEST() argument
80 int status1 = Yama::GetStatus(); in TEST()
84 ASSERT_GE(Yama::STATUS_KNOWN | Yama::STATUS_PRESENT | Yama::STATUS_ENFORCING | in TEST()
85 Yama::STATUS_STRICT_ENFORCING, in TEST()
89 int status2 = Yama::GetStatus(); in TEST()
94 EXPECT_NE(0, Yama::STATUS_KNOWN & status1); in TEST()
96 if (status1 & Yama::STATUS_STRICT_ENFORCING) { in TEST()
98 EXPECT_TRUE(status1 & Yama::STATUS_ENFORCING); in TEST()
101 if (status1 & Yama::STATUS_ENFORCING) { in TEST()
103 EXPECT_NE(0, status1 & Yama::STATUS_PRESENT); in TEST()
[all …]
Dyama.cc66 bool Yama::RestrictPtracersToAncestors() { in RestrictPtracersToAncestors()
71 bool Yama::DisableYamaRestrictions() { in DisableYamaRestrictions()
76 int Yama::GetStatus() { in GetStatus()
112 bool Yama::IsPresent() { return GetStatus() & STATUS_PRESENT; } in IsPresent()
115 bool Yama::IsEnforcing() { return GetStatus() & STATUS_ENFORCING; } in IsEnforcing()
Dyama.h16 class SANDBOX_EXPORT Yama {
52 DISALLOW_IMPLICIT_CONSTRUCTORS(Yama);
/external/autotest/client/site_tests/security_ptraceRestrictions/
Dcontrol7 PURPOSE = "Verify ptrace restrictions introduced by the Yama LSM"
/external/autotest/client/site_tests/security_HardlinkRestrictions/
Dcontrol7 PURPOSE = "Verify hardlink restrictions introduced by the Yama LSM"
/external/autotest/client/site_tests/security_SymlinkRestrictions/
Dcontrol7 PURPOSE = "Verify symlink restrictions introduced by the Yama LSM"
/external/elfutils/config/
Delfutils.spec.in111 Yama sysctl setting to enable default attach scope settings
/external/valgrind/
DNEWS1166 319235 --db-attach=yes is broken with Yama (ptrace scoping) enabled
/external/strace/
DChangeLog26055 Make -D mode work when the Yama LSM is enabled.