23 lines
1005 B
Diff
23 lines
1005 B
Diff
From c41cd6ac927f592b161abc04468d3c7a4be91995 Mon Sep 17 00:00:00 2001
|
|
From: Shawn Anastasio <shawnanastasio@yahoo.com>
|
|
Date: Tue, 23 Oct 2018 15:49:31 -0500
|
|
Subject: [PATCH] sandbox/linux: Update IsSyscallAllowed in broker_process.cc
|
|
|
|
---
|
|
sandbox/linux/syscall_broker/broker_process.cc | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
Index: chromium-128.0.6613.113/sandbox/linux/syscall_broker/broker_process.cc
|
|
===================================================================
|
|
--- chromium-128.0.6613.113.orig/sandbox/linux/syscall_broker/broker_process.cc
|
|
+++ chromium-128.0.6613.113/sandbox/linux/syscall_broker/broker_process.cc
|
|
@@ -169,7 +169,7 @@ bool BrokerProcess::IsSyscallBrokerable(
|
|
#if defined(__NR_fstatat64)
|
|
case __NR_fstatat64:
|
|
#endif
|
|
-#if defined(__x86_64__) || defined(__aarch64__)
|
|
+#if defined(__x86_64__) || defined(__aarch64__) || defined(__powerpc64__)
|
|
case __NR_newfstatat:
|
|
#endif
|
|
return !fast_check || policy_->allowed_command_set.test(COMMAND_STAT);
|