Searched refs:Yama (Results 1 – 5 of 5) sorted by relevance
60 TEST(Yama, GetStatus) { in TEST() argument61 int status1 = Yama::GetStatus(); in TEST()65 ASSERT_GE(Yama::STATUS_KNOWN | Yama::STATUS_PRESENT | Yama::STATUS_ENFORCING | in TEST()66 Yama::STATUS_STRICT_ENFORCING, in TEST()70 int status2 = Yama::GetStatus(); in TEST()75 EXPECT_NE(0, Yama::STATUS_KNOWN & status1); in TEST()77 if (status1 & Yama::STATUS_STRICT_ENFORCING) { in TEST()79 EXPECT_TRUE(status1 & Yama::STATUS_ENFORCING); in TEST()82 if (status1 & Yama::STATUS_ENFORCING) { in TEST()84 EXPECT_NE(0, status1 & Yama::STATUS_PRESENT); in TEST()[all …]
65 bool Yama::RestrictPtracersToAncestors() { in RestrictPtracersToAncestors()70 bool Yama::DisableYamaRestrictions() { in DisableYamaRestrictions()75 int Yama::GetStatus() { in GetStatus()111 bool Yama::IsPresent() { return GetStatus() & STATUS_PRESENT; } in IsPresent()114 bool Yama::IsEnforcing() { return GetStatus() & STATUS_ENFORCING; } in IsEnforcing()
17 class SANDBOX_EXPORT Yama {53 DISALLOW_IMPLICIT_CONSTRUCTORS(Yama);
42 using sandbox::Yama;171 const int yama_status = Yama::GetStatus(); in PreinitializeSandbox()172 yama_is_enforcing_ = (yama_status & Yama::STATUS_PRESENT) && in PreinitializeSandbox()173 (yama_status & Yama::STATUS_ENFORCING); in PreinitializeSandbox()
441 319235 --db-attach=yes is broken with Yama (ptrace scoping) enabled