24 lines
784 B
24 lines
784 B
10 months ago
|
Index: chromium-120.0.6099.71/sandbox/linux/system_headers/ppc64_linux_syscalls.h
|
||
|
===================================================================
|
||
|
--- chromium-120.0.6099.71.orig/sandbox/linux/system_headers/ppc64_linux_syscalls.h
|
||
|
+++ chromium-120.0.6099.71/sandbox/linux/system_headers/ppc64_linux_syscalls.h
|
||
|
@@ -8,5 +8,18 @@
|
||
|
#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
|
||
|
|
||
|
#endif // SANDBOX_LINUX_SYSTEM_HEADERS_PPC64_LINUX_SYSCALLS_H_
|