r3613 - in glibc-package/trunk/debian: . patches/kfreebsd
Author: aurel32
Date: 2009-07-12 12:43:03 +0000 (Sun, 12 Jul 2009)
New Revision: 3613
Modified:
glibc-package/trunk/debian/changelog
glibc-package/trunk/debian/patches/kfreebsd/local-sysdeps.diff
Log:
* kfreebsd/local-sysdeps.diff: update to revision 2624 (from glibc-bsd).
Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog 2009-07-12 12:41:18 UTC (rev 3612)
+++ glibc-package/trunk/debian/changelog 2009-07-12 12:43:03 UTC (rev 3613)
@@ -8,6 +8,7 @@
* Add sysdeps/sh4.mk. Closes: #536199.
* debian/control.in/main: Build-Conflicts on dpkg-dev (= 1.15.3).
Closes: #536482.
+ * kfreebsd/local-sysdeps.diff: update to revision 2624 (from glibc-bsd).
-- Aurelien Jarno <aurel32@debian.org> Sun, 12 Jul 2009 14:39:01 +0200
Modified: glibc-package/trunk/debian/patches/kfreebsd/local-sysdeps.diff
===================================================================
--- glibc-package/trunk/debian/patches/kfreebsd/local-sysdeps.diff 2009-07-12 12:41:18 UTC (rev 3612)
+++ glibc-package/trunk/debian/patches/kfreebsd/local-sysdeps.diff 2009-07-12 12:43:03 UTC (rev 3613)
@@ -25678,7 +25678,7 @@
+libc_hidden_def (__syscall_fork)
--- /dev/null
+++ b/ports/sysdeps/unix/bsd/bsd4.4/kfreebsd/x86_64/sysarch.h
-@@ -0,0 +1,48 @@
+@@ -0,0 +1,72 @@
+/* Parameters for the architecture specific system call. amd64 version.
+ Copyright (C) 2002 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
@@ -25704,18 +25704,42 @@
+#include <features.h>
+
+/* Function that can be used as first argument to 'sysarch'. */
++enum
++ {
++ I386_GET_LDT = 0,
++#define I386_GET_LDT I386_GET_LDT
++ I386_SET_LDT = 1,
++#define I386_SET_LDT I386_SET_LDT
++ I386_GET_IOPERM = 3,
++#define I386_GET_IOPERM I386_GET_IOPERM
++ I386_SET_IOPERM = 4,
++#define I386_SET_IOPERM I386_SET_IOPERM
++ I386_GET_FSBASE = 7,
++#define I386_GET_FSBASE I386_GET_FSBASE
++ I386_SET_FSBASE = 8,
++#define I386_SET_FSBASE I386_SET_FSBASE
++ I386_GET_GSBASE = 9,
++#define I386_GET_GSBASE I386_GET_GSBASE
++ I386_SET_GSBASE = 10,
++#define I386_SET_GSBASE I386_SET_GSBASE
++ AMD64_GET_FSBASE = 128,
++#define AMD64_GET_FSBASE AMD64_GET_FSBASE
++ AMD64_SET_FSBASE = 129,
++#define AMD64_SET_FSBASE AMD64_SET_FSBASE
++ AMD64_GET_GSBASE = 130,
++#define AMD64_GET_GSBASE AMD64_GET_GSBASE
++ AMD64_SET_GSBASE = 131
++#define AMD64_SET_GSBASE AMD64_SET_GSBASE
++ };
+
-+#define I386_GET_FSBASE 7
-+#define I386_SET_FSBASE 8
-+#define I386_GET_GSBASE 9
-+#define I386_SET_GSBASE 10
++/* Argument struct for I386_GET_IOPERM and I386_SET_IOPERM. */
++struct i386_ioperm_args
++ {
++ unsigned int start;
++ unsigned int length;
++ int enable;
++ };
+
-+/* Leave space for 0-127 for to avoid translating syscalls */
-+#define AMD64_GET_FSBASE 128
-+#define AMD64_SET_FSBASE 129
-+#define AMD64_GET_GSBASE 130
-+#define AMD64_SET_GSBASE 131
-+
+__BEGIN_DECLS
+
+extern int sysarch (int __cmd, void *__arg);
Reply to: