Searched refs:Yama (Results 1 – 9 of 9) sorted by relevance
79 TEST(Yama, GetStatus) { in TEST() argument80 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 …]
66 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()
16 class SANDBOX_EXPORT Yama {52 DISALLOW_IMPLICIT_CONSTRUCTORS(Yama);
7 PURPOSE = "Verify ptrace restrictions introduced by the Yama LSM"
7 PURPOSE = "Verify hardlink restrictions introduced by the Yama LSM"
7 PURPOSE = "Verify symlink restrictions introduced by the Yama LSM"
111 Yama sysctl setting to enable default attach scope settings
1166 319235 --db-attach=yes is broken with Yama (ptrace scoping) enabled
26055 Make -D mode work when the Yama LSM is enabled.