Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 889575 Details for
Bug 928664
www-client/firefox-124.0.2 build fails on arm64: use of undeclared identifier '__NR_epoll_wait'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fixed 0029-bgo-928137-add-epoll_pwait2-syscall-to-sandbox.patch builds on arm64
0029-bgo-928137-add-epoll_pwait2-syscall-to-sandbox.patch (text/plain), 1.95 KB, created by
Janne Grunau
on 2024-04-06 11:31:59 UTC
(
hide
)
Description:
Fixed 0029-bgo-928137-add-epoll_pwait2-syscall-to-sandbox.patch builds on arm64
Filename:
MIME Type:
Creator:
Janne Grunau
Created:
2024-04-06 11:31:59 UTC
Size:
1.95 KB
patch
obsolete
>diff --git a/security/sandbox/chromium/sandbox/linux/system_headers/x86_32_linux_syscalls.h b/security/sandbox/chromium/sandbox/linux/system_headers/x86_32_linux_syscalls.h >index dc846ee..0f6b98d 100644 >--- a/security/sandbox/chromium/sandbox/linux/system_headers/x86_32_linux_syscalls.h >+++ b/security/sandbox/chromium/sandbox/linux/system_headers/x86_32_linux_syscalls.h >@@ -1279,6 +1279,10 @@ > #define __NR_epoll_pwait 319 > #endif > >+#if !defined(__NR_epoll_pwait2) >+#define __NR_epoll_pwait 441 >+#endif >+ > #if !defined(__NR_utimensat) > #define __NR_utimensat 320 > #endif >diff --git a/security/sandbox/chromium/sandbox/linux/system_headers/x86_64_linux_syscalls.h b/security/sandbox/chromium/sandbox/linux/system_headers/x86_64_linux_syscalls.h >index ab51703..ff96dc4 100644 >--- a/security/sandbox/chromium/sandbox/linux/system_headers/x86_64_linux_syscalls.h >+++ b/security/sandbox/chromium/sandbox/linux/system_headers/x86_64_linux_syscalls.h >@@ -1143,6 +1143,10 @@ > #define __NR_epoll_pwait 281 > #endif > >+#if !defined(__NR_epoll_pwait2) >+#define __NR_epoll_pwait2 441 >+#endif >+ > #if !defined(__NR_signalfd) > #define __NR_signalfd 282 > #endif >diff --git a/security/sandbox/linux/SandboxFilterUtil.h b/security/sandbox/linux/SandboxFilterUtil.h >index 6e9180b..abdeb44 100644 >--- a/security/sandbox/linux/SandboxFilterUtil.h >+++ b/security/sandbox/linux/SandboxFilterUtil.h >@@ -215,7 +215,16 @@ class SandboxPolicyBase : public sandbox::bpf_dsl::Policy { > # define CASES_FOR_epoll_create case __NR_epoll_create1 > #endif > >-#ifdef __NR_epoll_wait >+#if defined(__NR_epoll_pwait2) && defined(__NR_epoll_wait) >+# define CASES_FOR_epoll_wait \ >+ case __NR_epoll_wait: \ >+ case __NR_epoll_pwait: \ >+ case __NR_epoll_pwait2 >+#elif defined(__NR_epoll_pwait2) >+# define CASES_FOR_epoll_wait \ >+ case __NR_epoll_pwait: \ >+ case __NR_epoll_pwait2 >+#elif defined(__NR_epoll_wait) > # define CASES_FOR_epoll_wait \ > case __NR_epoll_wait: \ > case __NR_epoll_pwait
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 928664
:
889551
|
889552
| 889575