0005-sandbox-linux-update-unit-test-for-ppc64.patch 1016 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
From 6a852c4135864ba87b3cbdd0880d7cfecf7cd654 Mon Sep 17 00:00:00 2001
From: Shawn Anastasio <shawnanastasio@yahoo.com>
Date: Thu, 13 Sep 2018 15:12:22 -0500
Subject: [PATCH 5/6] sandbox/linux: update unit test for ppc64

---
 sandbox/linux/seccomp-bpf-helpers/baseline_policy_unittest.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

10
Index: chromium-129.0.6668.58/sandbox/linux/seccomp-bpf-helpers/baseline_policy_unittest.cc
11
===================================================================
12 13
--- chromium-129.0.6668.58.orig/sandbox/linux/seccomp-bpf-helpers/baseline_policy_unittest.cc
+++ chromium-129.0.6668.58/sandbox/linux/seccomp-bpf-helpers/baseline_policy_unittest.cc
14
@@ -350,8 +350,10 @@ TEST_BASELINE_SIGSYS(__NR_timer_create)
15 16 17 18 19 20 21 22 23 24
 
 #if !defined(__aarch64__)
 TEST_BASELINE_SIGSYS(__NR_inotify_init)
+#if !defined(__powerpc64__)
 TEST_BASELINE_SIGSYS(__NR_vserver)
 #endif
+#endif
 
 #if defined(LIBC_GLIBC) && !BUILDFLAG(IS_CHROMEOS_ASH)
 BPF_TEST_C(BaselinePolicy, FutexEINVAL, BaselinePolicy) {