Skip to content

Commit

Permalink
build fix (see r281666 and r281672, I screwed up the re-land)
Browse files Browse the repository at this point in the history
TBR=maniscalo@chromium.org

Review URL: https://codereview.chromium.org/375913002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@281762 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
thakis@chromium.org committed Jul 8, 2014
1 parent 3025ebc commit d669825
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion sandbox/linux/services/yama_unittests.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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());

Expand All @@ -151,7 +154,7 @@ TEST(Yama, RestrictPtraceWorks) {
void DoNothing() {}

SANDBOX_TEST(Yama, RestrictPtraceIsDefault) {
if (!Yama::IsPresent())
if (!Yama::IsPresent() || HasLinux32Bug())
return;

CHECK(Yama::DisableYamaRestrictions());
Expand Down

0 comments on commit d669825

Please sign in to comment.