27 lines
850 B
Diff
27 lines
850 B
Diff
Index: chromium-128.0.6613.113/sandbox/linux/system_headers/ppc64_linux_syscalls.h
|
|
===================================================================
|
|
--- chromium-128.0.6613.113.orig/sandbox/linux/system_headers/ppc64_linux_syscalls.h
|
|
+++ chromium-128.0.6613.113/sandbox/linux/system_headers/ppc64_linux_syscalls.h
|
|
@@ -8,5 +8,21 @@
|
|
#include <asm/unistd.h>
|
|
|
|
//TODO: is it necessary to redefine syscall numbers for PPC64?
|
|
+// Needed for Ubuntu/Debian/Centos/RHEL:
|
|
+#if !defined(__NR_shmget)
|
|
+#define __NR_shmget 395
|
|
+#endif
|
|
+#if !defined(__NR_shmdt)
|
|
+#define __NR_shmdt 398
|
|
+#endif
|
|
+#if !defined(__NR_shmctl)
|
|
+#define __NR_shmctl 396
|
|
+#endif
|
|
+#if !defined(__NR_shmat)
|
|
+#define __NR_shmat 397
|
|
+#endif
|
|
+#if !defined(__NR_mseal)
|
|
+#define __NR_mseal 462
|
|
+#endif
|
|
|
|
#endif // SANDBOX_LINUX_SYSTEM_HEADERS_PPC64_LINUX_SYSCALLS_H_
|