[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#637424: marked as done (Implement amd64_set_gsbase and i386_set_fsbase)



Your message dated Wed, 17 Aug 2011 12:32:42 +0000
with message-id <E1QtfIY-0005hl-CC@franck.debian.org>
and subject line Bug#637424: fixed in kfreebsd-kernel-headers 0.57
has caused the Debian Bug report #637424,
regarding Implement amd64_set_gsbase and i386_set_fsbase
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
637424: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=637424
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libc0.1
Version: 2.13-15
Severity: wishlist
Tags: patch

This patch implements the following syscall stubs:

i386_get_gsbase
i386_get_fsbase
i386_set_gsbase
i386_set_fsbase
amd64_get_gsbase
amd64_get_fsbase
amd64_set_gsbase
amd64_set_fsbase

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: kfreebsd-amd64 (x86_64)

Kernel: kFreeBSD 8.1-1-amd64
Locale: LANG=ca_AD.utf8, LC_CTYPE=ca_AD.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libc0.1 depends on:
ii  libc-bin                      2.13-15    Embedded GNU C Library: Binaries
ii  libgcc1                       1:4.6.1-4  GCC support library

libc0.1 recommends no packages.

Versions of packages libc0.1 suggests:
ii  debconf [debconf-2.0]         1.5.41     Debian configuration management sy
pn  glibc-doc                     <none>     (no description available)
ii  locales                       2.13-14    Embedded GNU C Library: National L

-- debconf information excluded
Index: i386/i386_get_gsbase.c
===================================================================
--- i386/i386_get_gsbase.c	(revision 0)
+++ i386/i386_get_gsbase.c	(revision 0)
@@ -0,0 +1,25 @@
+/* Copyright (C) 2011 Free Software Foundation, Inc.
+   This file is part of the GNU C Library.
+
+   The GNU C Library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Lesser General Public
+   License as published by the Free Software Foundation; either
+   version 2.1 of the License, or (at your option) any later version.
+
+   The GNU C Library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with the GNU C Library; if not, write to the Free
+   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+   02111-1307 USA.  */
+
+#include <machine/sysarch.h>
+
+int
+i386_get_gsbase (void **addr)
+{
+  return __sysarch (I386_GET_GSBASE, addr);
+}
Index: i386/i386_set_gsbase.c
===================================================================
--- i386/i386_set_gsbase.c	(revision 0)
+++ i386/i386_set_gsbase.c	(revision 0)
@@ -0,0 +1,25 @@
+/* Copyright (C) 2011 Free Software Foundation, Inc.
+   This file is part of the GNU C Library.
+
+   The GNU C Library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Lesser General Public
+   License as published by the Free Software Foundation; either
+   version 2.1 of the License, or (at your option) any later version.
+
+   The GNU C Library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with the GNU C Library; if not, write to the Free
+   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+   02111-1307 USA.  */
+
+#include <machine/sysarch.h>
+
+int
+i386_set_gsbase (void *addr)
+{
+  return __sysarch (I386_SET_GSBASE, addr);
+}
Index: i386/Makefile
===================================================================
--- i386/Makefile	(revision 3681)
+++ i386/Makefile	(working copy)
@@ -15,5 +15,5 @@
 # For <sys/vm86.h>.
 sysdep_routines += i386_vm86
 # For <machine/sysarch.h>.
-sysdep_routines += i386_get_ldt i386_set_ldt
+sysdep_routines += i386_get_ldt i386_set_ldt i386_get_fsbase i386_set_fsbase i386_get_gsbase i386_set_gsbase
 endif
Index: i386/i386_get_fsbase.c
===================================================================
--- i386/i386_get_fsbase.c	(revision 0)
+++ i386/i386_get_fsbase.c	(revision 0)
@@ -0,0 +1,25 @@
+/* Copyright (C) 2011 Free Software Foundation, Inc.
+   This file is part of the GNU C Library.
+
+   The GNU C Library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Lesser General Public
+   License as published by the Free Software Foundation; either
+   version 2.1 of the License, or (at your option) any later version.
+
+   The GNU C Library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with the GNU C Library; if not, write to the Free
+   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+   02111-1307 USA.  */
+
+#include <machine/sysarch.h>
+
+int
+i386_get_fsbase (void **addr)
+{
+  return __sysarch (I386_GET_FSBASE, addr);
+}
Index: i386/Versions
===================================================================
--- i386/Versions	(revision 3681)
+++ i386/Versions	(working copy)
@@ -4,4 +4,7 @@
     ioperm; iopl;
     i386_get_ldt; i386_set_ldt;
   }
+  GLIBC_2.13 {
+    i386_get_fsbase; i386_set_fsbase; i386_get_gsbase; i386_set_gsbase;
+  }
 }
Index: i386/i386_set_fsbase.c
===================================================================
--- i386/i386_set_fsbase.c	(revision 0)
+++ i386/i386_set_fsbase.c	(revision 0)
@@ -0,0 +1,25 @@
+/* Copyright (C) 2011 Free Software Foundation, Inc.
+   This file is part of the GNU C Library.
+
+   The GNU C Library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Lesser General Public
+   License as published by the Free Software Foundation; either
+   version 2.1 of the License, or (at your option) any later version.
+
+   The GNU C Library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with the GNU C Library; if not, write to the Free
+   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+   02111-1307 USA.  */
+
+#include <machine/sysarch.h>
+
+int
+i386_set_fsbase (void *addr)
+{
+  return __sysarch (I386_SET_FSBASE, addr);
+}
Index: x86_64/amd64_set_fsbase.c
===================================================================
--- x86_64/amd64_set_fsbase.c	(revision 0)
+++ x86_64/amd64_set_fsbase.c	(revision 0)
@@ -0,0 +1,25 @@
+/* Copyright (C) 2011 Free Software Foundation, Inc.
+   This file is part of the GNU C Library.
+
+   The GNU C Library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Lesser General Public
+   License as published by the Free Software Foundation; either
+   version 2.1 of the License, or (at your option) any later version.
+
+   The GNU C Library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with the GNU C Library; if not, write to the Free
+   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+   02111-1307 USA.  */
+
+#include <machine/sysarch.h>
+
+int
+amd64_set_fsbase (void *addr)
+{
+  return __sysarch (AMD64_SET_FSBASE, addr);
+}
Index: x86_64/Makefile
===================================================================
--- x86_64/Makefile	(revision 3681)
+++ x86_64/Makefile	(working copy)
@@ -14,4 +14,6 @@
 ifeq ($(subdir),misc)
 # For <sys/io.h> and <sys/perm.h>.
 sysdep_routines += iopl ioperm
+# For <machine/sysarch.h>.
+sysdep_routines += amd64_get_fsbase amd64_set_fsbase amd64_get_gsbase amd64_set_gsbase
 endif
Index: x86_64/amd64_get_gsbase.c
===================================================================
--- x86_64/amd64_get_gsbase.c	(revision 0)
+++ x86_64/amd64_get_gsbase.c	(revision 0)
@@ -0,0 +1,25 @@
+/* Copyright (C) 2011 Free Software Foundation, Inc.
+   This file is part of the GNU C Library.
+
+   The GNU C Library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Lesser General Public
+   License as published by the Free Software Foundation; either
+   version 2.1 of the License, or (at your option) any later version.
+
+   The GNU C Library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with the GNU C Library; if not, write to the Free
+   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+   02111-1307 USA.  */
+
+#include <machine/sysarch.h>
+
+int
+amd64_get_gsbase (void **addr)
+{
+  return __sysarch (AMD64_GET_GSBASE, addr);
+}
Index: x86_64/amd64_set_gsbase.c
===================================================================
--- x86_64/amd64_set_gsbase.c	(revision 0)
+++ x86_64/amd64_set_gsbase.c	(revision 0)
@@ -0,0 +1,25 @@
+/* Copyright (C) 2011 Free Software Foundation, Inc.
+   This file is part of the GNU C Library.
+
+   The GNU C Library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Lesser General Public
+   License as published by the Free Software Foundation; either
+   version 2.1 of the License, or (at your option) any later version.
+
+   The GNU C Library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with the GNU C Library; if not, write to the Free
+   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+   02111-1307 USA.  */
+
+#include <machine/sysarch.h>
+
+int
+amd64_set_gsbase (void *addr)
+{
+  return __sysarch (AMD64_SET_GSBASE, addr);
+}
Index: x86_64/Versions
===================================================================
--- x86_64/Versions	(revision 3681)
+++ x86_64/Versions	(working copy)
@@ -5,4 +5,7 @@
   GLIBC_2.10 {
     ioperm;
   }
+  GLIBC_2.13 {
+    amd64_get_fsbase; amd64_set_fsbase; amd64_get_gsbase; amd64_set_gsbase;
+  }
 }
Index: x86_64/amd64_get_fsbase.c
===================================================================
--- x86_64/amd64_get_fsbase.c	(revision 0)
+++ x86_64/amd64_get_fsbase.c	(revision 0)
@@ -0,0 +1,25 @@
+/* Copyright (C) 2011 Free Software Foundation, Inc.
+   This file is part of the GNU C Library.
+
+   The GNU C Library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Lesser General Public
+   License as published by the Free Software Foundation; either
+   version 2.1 of the License, or (at your option) any later version.
+
+   The GNU C Library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with the GNU C Library; if not, write to the Free
+   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+   02111-1307 USA.  */
+
+#include <machine/sysarch.h>
+
+int
+amd64_get_fsbase (void **addr)
+{
+  return __sysarch (AMD64_GET_FSBASE, addr);
+}

--- End Message ---
--- Begin Message ---
Source: kfreebsd-kernel-headers
Source-Version: 0.57

We believe that the bug you reported is fixed in the latest version of
kfreebsd-kernel-headers, which is due to be installed in the Debian FTP archive:

kfreebsd-kernel-headers_0.57.dsc
  to main/k/kfreebsd-kernel-headers/kfreebsd-kernel-headers_0.57.dsc
kfreebsd-kernel-headers_0.57.tar.gz
  to main/k/kfreebsd-kernel-headers/kfreebsd-kernel-headers_0.57.tar.gz
kfreebsd-kernel-headers_0.57_kfreebsd-amd64.deb
  to main/k/kfreebsd-kernel-headers/kfreebsd-kernel-headers_0.57_kfreebsd-amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 637424@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Robert Millan <rmh@debian.org> (supplier of updated kfreebsd-kernel-headers package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Wed, 17 Aug 2011 11:44:04 +0000
Source: kfreebsd-kernel-headers
Binary: kfreebsd-kernel-headers
Architecture: source kfreebsd-amd64
Version: 0.57
Distribution: unstable
Urgency: low
Maintainer: GNU/kFreeBSD Maintainers <debian-bsd@lists.debian.org>
Changed-By: Robert Millan <rmh@debian.org>
Description: 
 kfreebsd-kernel-headers - kernel of FreeBSD headers for development
Closes: 637378 637424
Changes: 
 kfreebsd-kernel-headers (0.57) unstable; urgency=low
 .
   * Renable 039_mips_misc.diff.
   * 005_register_t.diff: #include <sys/types.h> in headers that use
     register_t.  (Closes: #637378)
   * 042_sysarch_stubs.diff: Work around missing syscall stubs in libc by
     declaring them as inline functions.  (Closes: #637424)
Checksums-Sha1: 
 28760f14e91bef2b477d9385e8d157cdd5f33686 1141 kfreebsd-kernel-headers_0.57.dsc
 5c06b08ce6244eb41f896bac93fd27d9c69e48aa 40240 kfreebsd-kernel-headers_0.57.tar.gz
 6ac9763a6fb7a5d3e9ccbb1bd4ad902769a2da2c 4101096 kfreebsd-kernel-headers_0.57_kfreebsd-amd64.deb
Checksums-Sha256: 
 cf82d9cf42e76d7f7343435cb339bce59447c09f798e3def9e8cfacb81c11d76 1141 kfreebsd-kernel-headers_0.57.dsc
 bf44f8011d82e9122138db0dd1a93f036584ca25bc41f43dd91a6bb8bda982a8 40240 kfreebsd-kernel-headers_0.57.tar.gz
 eb112d07c7cfe0f40ef61be5b526284a038853a76ec358a045d2f3cb1dfae3c4 4101096 kfreebsd-kernel-headers_0.57_kfreebsd-amd64.deb
Files: 
 ce663c56d03c7ba5af6f3fb66b99735e 1141 kernel standard kfreebsd-kernel-headers_0.57.dsc
 72683b6beff51b8b6097f372330856ba 40240 kernel standard kfreebsd-kernel-headers_0.57.tar.gz
 4cec9c619408455c597d7172200e7316 4101096 kernel standard kfreebsd-kernel-headers_0.57_kfreebsd-amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/kFreeBSD)

iEYEARECAAYFAk5Lr5EACgkQC19io6rUCv8DGQCfeD8B1CrcvIbQDjo30LCeVzB/
i5YAn3YM9d9eANfJrr6U1Ufmdr625L+F
=bWCk
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: