Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
home:coolo:branches:openSUSE:Factory
libqt5-qtwebengine
sandbox-statx-futex_time64.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sandbox-statx-futex_time64.patch of Package libqt5-qtwebengine
From: Fabian Vogt <fabian@ritter-vogt.de> Subject: Sandbox: Handle statx and futex_time64 glibc uses statx in some more places now (e.g stat64 -> __fstatat64_time64), but it's caught by the sandbox, which doesn't handle it and breaks. Return -ENOSYS instead to trigger the fallback in glibc. futex_time64 is also used internally in glibc, so handle that as well. The signature is identical where it matters. diff --git a/src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc b/src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc index 6f7768f7d..b3335e2bf 100644 --- a/src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc +++ b/src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc @@ -203,6 +203,11 @@ ResultExpr EvaluateSyscallImpl(int fs_denied_errno, if (sysno == __NR_futex) return RestrictFutex(); +#if defined(__NR_futex_time64) + if (sysno == __NR_futex_time64) + return RestrictFutex(); +#endif + if (sysno == __NR_set_robust_list) return Error(EPERM); @@ -283,6 +288,12 @@ ResultExpr EvaluateSyscallImpl(int fs_denied_errno, return RewriteFstatatSIGSYS(fs_denied_errno); } +#if defined(__NR_statx) + if (sysno == __NR_statx) { + return Error(ENOSYS); + } +#endif + if (SyscallSets::IsFileSystem(sysno) || SyscallSets::IsCurrentDirectory(sysno)) { return Error(fs_denied_errno);
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