summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/qemu/qemu/exclude-some-arm-EABI-obsolete-syscalls.patch
diff options
context:
space:
mode:
authorAníbal Limón <anibal.limon@linux.intel.com>2017-01-31 16:10:24 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-02-05 09:22:16 +0000
commit8bf3f386f989ec9323c8399d1899d8b834e5ca94 (patch)
tree5d2f8e44a11e901e1173e36c6debcc1953d4507a /meta/recipes-devtools/qemu/qemu/exclude-some-arm-EABI-obsolete-syscalls.patch
parentf27ce57b99c5b12df8aca065769d114cf060c044 (diff)
downloadpoky-8bf3f386f989ec9323c8399d1899d8b834e5ca94.tar.gz
qemu: Upgrade to 2.8.0
Added patches: - target-ppc-fix-user-mode.patch Rebased patches: - exclude-some-arm-EABI-obsolete-syscalls.patc Removed patches (already in upstream): - 0003-fix-CVE-2016-7908.patch - 0004-fix-CVE-2016-7909.patch - 0001-target-mips-add-24KEc-CPU-definition.patch Changelog, http://wiki.qemu.org/ChangeLog/2.8 (From OE-Core rev: ab7eb1c896e4ba38b6c16acae3d25534296f62b8) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/qemu/qemu/exclude-some-arm-EABI-obsolete-syscalls.patch')
-rw-r--r--meta/recipes-devtools/qemu/qemu/exclude-some-arm-EABI-obsolete-syscalls.patch22
1 files changed, 8 insertions, 14 deletions
diff --git a/meta/recipes-devtools/qemu/qemu/exclude-some-arm-EABI-obsolete-syscalls.patch b/meta/recipes-devtools/qemu/qemu/exclude-some-arm-EABI-obsolete-syscalls.patch
index 171bda7e95..f593cf9ae0 100644
--- a/meta/recipes-devtools/qemu/qemu/exclude-some-arm-EABI-obsolete-syscalls.patch
+++ b/meta/recipes-devtools/qemu/qemu/exclude-some-arm-EABI-obsolete-syscalls.patch
@@ -27,14 +27,14 @@ or kernel header:
27 27
28Signed-off-by: Roy.Li <rongqing.li@windriver.com> 28Signed-off-by: Roy.Li <rongqing.li@windriver.com>
29--- 29---
30 qemu-seccomp.c | 14 ++++++++------ 30 qemu-seccomp.c | 13 ++++++++-----
31 1 file changed, 8 insertions(+), 6 deletions(-) 31 1 file changed, 8 insertions(+), 5 deletions(-)
32 32
33diff --git a/qemu-seccomp.c b/qemu-seccomp.c 33diff --git a/qemu-seccomp.c b/qemu-seccomp.c
34index caa926e..5a78502 100644 34index df75d9c..0e577f8 100644
35--- a/qemu-seccomp.c 35--- a/qemu-seccomp.c
36+++ b/qemu-seccomp.c 36+++ b/qemu-seccomp.c
37@@ -25,15 +25,21 @@ static const struct QemuSeccompSyscall seccomp_whitelist[] = { 37@@ -35,15 +35,21 @@ static const struct QemuSeccompSyscall seccomp_whitelist[] = {
38 { SCMP_SYS(timer_settime), 255 }, 38 { SCMP_SYS(timer_settime), 255 },
39 { SCMP_SYS(timer_gettime), 254 }, 39 { SCMP_SYS(timer_gettime), 254 },
40 { SCMP_SYS(futex), 253 }, 40 { SCMP_SYS(futex), 253 },
@@ -58,7 +58,7 @@ index caa926e..5a78502 100644
58 { SCMP_SYS(mprotect), 246 }, 58 { SCMP_SYS(mprotect), 246 },
59 { SCMP_SYS(execve), 245 }, 59 { SCMP_SYS(execve), 245 },
60 { SCMP_SYS(open), 245 }, 60 { SCMP_SYS(open), 245 },
61@@ -48,13 +54,11 @@ static const struct QemuSeccompSyscall seccomp_whitelist[] = { 61@@ -58,7 +64,6 @@ static const struct QemuSeccompSyscall seccomp_whitelist[] = {
62 { SCMP_SYS(bind), 245 }, 62 { SCMP_SYS(bind), 245 },
63 { SCMP_SYS(listen), 245 }, 63 { SCMP_SYS(listen), 245 },
64 { SCMP_SYS(semget), 245 }, 64 { SCMP_SYS(semget), 245 },
@@ -66,13 +66,7 @@ index caa926e..5a78502 100644
66 { SCMP_SYS(gettimeofday), 245 }, 66 { SCMP_SYS(gettimeofday), 245 },
67 { SCMP_SYS(readlink), 245 }, 67 { SCMP_SYS(readlink), 245 },
68 { SCMP_SYS(access), 245 }, 68 { SCMP_SYS(access), 245 },
69 { SCMP_SYS(prctl), 245 }, 69@@ -104,7 +109,6 @@ static const struct QemuSeccompSyscall seccomp_whitelist[] = {
70 { SCMP_SYS(signalfd), 245 },
71- { SCMP_SYS(getrlimit), 245 },
72 { SCMP_SYS(set_tid_address), 245 },
73 { SCMP_SYS(statfs), 245 },
74 { SCMP_SYS(unlink), 245 },
75@@ -93,7 +97,6 @@ static const struct QemuSeccompSyscall seccomp_whitelist[] = {
76 { SCMP_SYS(times), 245 }, 70 { SCMP_SYS(times), 245 },
77 { SCMP_SYS(exit), 245 }, 71 { SCMP_SYS(exit), 245 },
78 { SCMP_SYS(clock_gettime), 245 }, 72 { SCMP_SYS(clock_gettime), 245 },
@@ -80,7 +74,7 @@ index caa926e..5a78502 100644
80 { SCMP_SYS(restart_syscall), 245 }, 74 { SCMP_SYS(restart_syscall), 245 },
81 { SCMP_SYS(pwrite64), 245 }, 75 { SCMP_SYS(pwrite64), 245 },
82 { SCMP_SYS(nanosleep), 245 }, 76 { SCMP_SYS(nanosleep), 245 },
83@@ -182,7 +185,6 @@ static const struct QemuSeccompSyscall seccomp_whitelist[] = { 77@@ -194,7 +198,6 @@ static const struct QemuSeccompSyscall seccomp_whitelist[] = {
84 { SCMP_SYS(lstat64), 241 }, 78 { SCMP_SYS(lstat64), 241 },
85 { SCMP_SYS(sendfile64), 241 }, 79 { SCMP_SYS(sendfile64), 241 },
86 { SCMP_SYS(ugetrlimit), 241 }, 80 { SCMP_SYS(ugetrlimit), 241 },
@@ -89,5 +83,5 @@ index caa926e..5a78502 100644
89 { SCMP_SYS(rt_sigqueueinfo), 241 }, 83 { SCMP_SYS(rt_sigqueueinfo), 241 },
90 { SCMP_SYS(rt_tgsigqueueinfo), 241 }, 84 { SCMP_SYS(rt_tgsigqueueinfo), 241 },
91-- 85--
921.9.1 862.1.4
93 87