tags 656926 + patch
tags 656926 + pending
thanks

Dear maintainer,

I've prepared an NMU for qemu (versioned as 1.0+dfsg-3.1) and
I had no plans to upload. Please feel free to tell me if I
should do or if you are willing to take the patch.

Regards.

-- 
  Hector Oron
diff -Nru qemu-1.0+dfsg/debian/changelog qemu-1.0+dfsg/debian/changelog
--- qemu-1.0+dfsg/debian/changelog	2012-02-07 02:56:16.000000000 +0100
+++ qemu-1.0+dfsg/debian/changelog	2012-03-02 20:57:11.000000000 +0100
@@ -1,3 +1,10 @@
+qemu (1.0+dfsg-3.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix armhf prctl syscall (Closes: #656926).
+
+ -- Hector Oron <zu...@debian.org>  Fri, 02 Mar 2012 20:56:23 +0100
+
 qemu (1.0+dfsg-3) unstable; urgency=low
 
   [ Aurelien Jarno ]
diff -Nru qemu-1.0+dfsg/debian/patches/fix-armhf-prctl.patch qemu-1.0+dfsg/debian/patches/fix-armhf-prctl.patch
--- qemu-1.0+dfsg/debian/patches/fix-armhf-prctl.patch	1970-01-01 01:00:00.000000000 +0100
+++ qemu-1.0+dfsg/debian/patches/fix-armhf-prctl.patch	2012-03-02 21:00:08.000000000 +0100
@@ -0,0 +1,67 @@
+Description: Fix prctl on ARM
+ The only other prctl options which take pointer arguments are
+ all architecture specific, so there didn't seem much point in
+ adding them (they all work like PR_GET_PDEATHSIG in that they
+ pass an int* to be filled in); we'd have to actually emulate them
+ if we cared about them.
+ .
+ qemu (1.0+dfsg-3) unstable; urgency=low
+ .
+   [ Aurelien Jarno ]
+   * Add a build-depends on libfdt-dev to enable some more emulated machines.
+   * Really add binfmt support for s390x.
+ .
+   [ Michael Tokarev ]
+   * Depend on ipxe-qemu | ipxe (<< 1.0.0+git-20120202.f6840ba-2)
+     after ipxe package split.  This will probably need to be changed
+     to just ipxe-qemu once it will be landed properly.
+ .
+   [ Vagrant Cascadian ]
+   * Apply patch to use dpkg-buildflags (Closes: #656276).
+     Thanks to Moritz Muehlenhoff.
+Author: Vagrant Cascadian <vagr...@debian.org>
+Bug-Debian: http://bugs.debian.org/656276
+
+---
+The information above should follow the Patch Tagging Guidelines, please
+checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
+are templates for supplementary fields that you might want to add:
+
+Origin: other, http://lists.gnu.org/archive/html/qemu-devel/2012-02/msg00322.html
+Bug: http://lists.gnu.org/archive/html/qemu-devel/2012-02/msg00322.html
+Bug-Debian: http://bugs.debian.org/656926
+Last-Update: <2012-03-02>
+
+--- qemu-1.0+dfsg.orig/linux-user/syscall.c
++++ qemu-1.0+dfsg/linux-user/syscall.c
+@@ -6853,6 +6853,30 @@ abi_long do_syscall(void *cpu_env, int n
+                         goto efault;
+                 }
+                 break;
++#ifdef PR_GET_NAME
++        case PR_GET_NAME:
++        {
++            void *name = lock_user(VERIFY_WRITE, arg2, 16, 1);
++            if (!name) {
++                goto efault;
++            }
++            ret = get_errno(prctl(arg1, (unsigned long)name,
++                                  arg3, arg4, arg5));
++            unlock_user(name, arg2, 16);
++            break;
++        }
++        case PR_SET_NAME:
++        {
++            void *name = lock_user(VERIFY_READ, arg2, 16, 1);
++            if (!name) {
++                goto efault;
++            }
++            ret = get_errno(prctl(arg1, (unsigned long)name,
++                                  arg3, arg4, arg5));
++            unlock_user(name, arg2, 0);
++            break;
++        }
++#endif
+             default:
+                 ret = get_errno(prctl(arg1, arg2, arg3, arg4, arg5));
+                 break;
diff -Nru qemu-1.0+dfsg/debian/patches/series qemu-1.0+dfsg/debian/patches/series
--- qemu-1.0+dfsg/debian/patches/series	2012-01-10 00:55:02.000000000 +0100
+++ qemu-1.0+dfsg/debian/patches/series	2012-03-02 20:55:39.000000000 +0100
@@ -5,3 +5,4 @@
 x86-fix-cmpxchg.patch
 configure-nss-usbredir.patch
 fix-malta-i8259
+fix-armhf-prctl.patch

Reply via email to