Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:hillwood:libreofficeonline
libreoffice-online
support-ppc64.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File support-ppc64.patch of Package libreoffice-online
diff -Nur online-libreoffice-7.0.0.2/common/Seccomp.cpp online-libreoffice-7.0.0.2-new/common/Seccomp.cpp --- online-libreoffice-7.0.0.2/common/Seccomp.cpp 2020-07-24 19:59:10.000000000 +0800 +++ online-libreoffice-7.0.0.2-new/common/Seccomp.cpp 2020-09-04 13:58:52.862546843 +0800 @@ -52,6 +52,10 @@ # define AUDIT_ARCH_NR AUDIT_ARCH_ARM # define SECCOMP_REG(_ctx, _reg) ((_ctx)->uc_mcontext.arm_##_reg) # define SECCOMP_SYSCALL(_ctx) SECCOMP_REG(_ctx, r7) +#elif defined(__powerpc64__) +# define AUDIT_ARCH_NR AUDIT_ARCH_PPC64 +# define SECCOMP_REG(_ctx, _reg) ((_ctx)->uc_mcontext.regs->gpr[_reg]) +# define SECCOMP_SYSCALL(_ctx) SECCOMP_REG(_ctx, 0) #else # error "Platform does not support seccomp filtering yet - unsafe." #endif
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor