Home
last modified time | relevance | path

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

/external/chromium_org/sandbox/linux/services/
Dyama_unittests.cc77 TEST(Yama, GetStatus) { in TEST() argument
78 int status1 = Yama::GetStatus(); in TEST()
82 ASSERT_GE(Yama::STATUS_KNOWN | Yama::STATUS_PRESENT | Yama::STATUS_ENFORCING | in TEST()
83 Yama::STATUS_STRICT_ENFORCING, in TEST()
87 int status2 = Yama::GetStatus(); in TEST()
92 EXPECT_NE(0, Yama::STATUS_KNOWN & status1); in TEST()
94 if (status1 & Yama::STATUS_STRICT_ENFORCING) { in TEST()
96 EXPECT_TRUE(status1 & Yama::STATUS_ENFORCING); in TEST()
99 if (status1 & Yama::STATUS_ENFORCING) { in TEST()
101 EXPECT_NE(0, status1 & Yama::STATUS_PRESENT); in TEST()
[all …]
Dyama.cc65 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()
Dyama.h17 class SANDBOX_EXPORT Yama {
53 DISALLOW_IMPLICIT_CONSTRUCTORS(Yama);
/external/chromium_org/content/common/sandbox_linux/
Dsandbox_linux.cc42 using sandbox::Yama;
168 const int yama_status = Yama::GetStatus(); in PreinitializeSandbox()
169 yama_is_enforcing_ = (yama_status & Yama::STATUS_PRESENT) && in PreinitializeSandbox()
170 (yama_status & Yama::STATUS_ENFORCING); in PreinitializeSandbox()
/external/valgrind/main/
DNEWS441 319235 --db-attach=yes is broken with Yama (ptrace scoping) enabled