diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2016-03-10 23:54:38 +0100 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-03-10 23:54:45 +0100 |
commit | f69e941936d866a7ddc3ed316fdcd0916eb2908f (patch) | |
tree | fa6eef918e6895e433a3b8496b566668da900c60 /community/chromium/musl-sandbox.patch | |
parent | f53dc6e19270cdc7d95e606eb8fb588f09edafee (diff) | |
download | aports-f69e941936d866a7ddc3ed316fdcd0916eb2908f.tar.bz2 aports-f69e941936d866a7ddc3ed316fdcd0916eb2908f.tar.xz |
community/chromium: upgrade to 49.0.2623.87
Diffstat (limited to 'community/chromium/musl-sandbox.patch')
-rw-r--r-- | community/chromium/musl-sandbox.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/community/chromium/musl-sandbox.patch b/community/chromium/musl-sandbox.patch index 3f244f03e6..9a6cad4f0f 100644 --- a/community/chromium/musl-sandbox.patch +++ b/community/chromium/musl-sandbox.patch @@ -1,6 +1,6 @@ ---- ./sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc.cld +--- ./sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc +++ ./sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc -@@ -111,23 +111,13 @@ +@@ -114,23 +114,13 @@ // CLONE_VM, nor CLONE_THREAD, which includes all fork() implementations. ResultExpr RestrictCloneToThreadsAndEPERMFork() { const Arg<unsigned long> flags(0); @@ -21,9 +21,9 @@ - CLONE_SYSVSEM | CLONE_SETTLS | CLONE_PARENT_SETTID | CLONE_CHILD_CLEARTID; - const BoolExpr glibc_test = flags == kGlibcPthreadFlags; - -- const BoolExpr android_test = flags == kAndroidCloneMask || -- flags == kObsoleteAndroidCloneMask || -- flags == kGlibcPthreadFlags; +- const BoolExpr android_test = +- AnyOf(flags == kAndroidCloneMask, flags == kObsoleteAndroidCloneMask, +- flags == kGlibcPthreadFlags); - - return If(IsAndroid() ? android_test : glibc_test, Allow()) + return If(thread_clone_ok, Allow()) |