| Index: sandbox/linux/services/yama_unittests.cc
|
| diff --git a/sandbox/linux/services/yama_unittests.cc b/sandbox/linux/services/yama_unittests.cc
|
| index 4722af3369c2820f07d97ed560bec3a6ab6f8786..a4100a6c37d346d0ca5af6e230444f3bc44cb596 100644
|
| --- a/sandbox/linux/services/yama_unittests.cc
|
| +++ b/sandbox/linux/services/yama_unittests.cc
|
| @@ -129,6 +129,9 @@ void SetYamaRestrictions(bool enable_restriction) {
|
| }
|
|
|
| TEST(Yama, RestrictPtraceWorks) {
|
| + if (HasLinux32Bug())
|
| + return;
|
| +
|
| ScopedProcess process1(base::Bind(&SetYamaRestrictions, true));
|
| ASSERT_TRUE(process1.WaitForClosureToRun());
|
|
|
| @@ -151,7 +154,7 @@ TEST(Yama, RestrictPtraceWorks) {
|
| void DoNothing() {}
|
|
|
| SANDBOX_TEST(Yama, RestrictPtraceIsDefault) {
|
| - if (!Yama::IsPresent())
|
| + if (!Yama::IsPresent() || HasLinux32Bug())
|
| return;
|
|
|
| CHECK(Yama::DisableYamaRestrictions());
|
|
|