aboutsummaryrefslogtreecommitdiffstats
path: root/community/qemu/fix-sigevent-and-sigval_t.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2019-12-13 09:51:16 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-12-13 09:51:16 +0000
commit5d6567e1da25bec0b85d3de14893618c885d9889 (patch)
treea6fd2b01b5650119b9d01b49de03b1bc98c2300a /community/qemu/fix-sigevent-and-sigval_t.patch
parent8da2624dad504d761040aee449a97941b1c4930c (diff)
downloadaports-5d6567e1da25bec0b85d3de14893618c885d9889.tar.bz2
aports-5d6567e1da25bec0b85d3de14893618c885d9889.tar.xz
community/{qemu*,ceph}: move to community
move qemu and ceph to community. Thi sis to reduce maintenenance workload for security fixes. Upstream qemu appears to have less support time than 2 years.
Diffstat (limited to 'community/qemu/fix-sigevent-and-sigval_t.patch')
-rw-r--r--community/qemu/fix-sigevent-and-sigval_t.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/community/qemu/fix-sigevent-and-sigval_t.patch b/community/qemu/fix-sigevent-and-sigval_t.patch
new file mode 100644
index 0000000000..1f99eacb60
--- /dev/null
+++ b/community/qemu/fix-sigevent-and-sigval_t.patch
@@ -0,0 +1,24 @@
+--- qemu-2.2.1/linux-user/syscall.c.orig 2015-04-10 07:10:06.305662505 +0000
++++ qemu-2.2.1/linux-user/syscall.c 2015-04-10 07:36:53.801871968 +0000
+@@ -5020,9 +5020,20 @@
+ return 0;
+ }
+
+-static inline abi_long target_to_host_sigevent(struct sigevent *host_sevp,
++struct host_sigevent {
++ union sigval sigev_value;
++ int sigev_signo;
++ int sigev_notify;
++ union {
++ int _pad[64-sizeof(int) * 2 + sizeof(union sigval)];
++ int _tid;
++ } _sigev_un;
++};
++
++static inline abi_long target_to_host_sigevent(struct sigevent *sevp,
+ abi_ulong target_addr)
+ {
++ struct host_sigevent *host_sevp = (struct host_sigevent *) sevp;
+ struct target_sigevent *target_sevp;
+
+ if (!lock_user_struct(VERIFY_READ, target_sevp, target_addr, 1)) {