svn commit: trunk/uClibc/libc/sysdeps/linux/common

andersen at uclibc.org andersen at uclibc.org
Wed Jul 5 00:55:44 UTC 2006


Author: andersen
Date: 2006-07-04 17:55:43 -0700 (Tue, 04 Jul 2006)
New Revision: 15609

Log:
The ltp testsuite fails on x86 without the modify_ldt syscall


Modified:
   trunk/uClibc/libc/sysdeps/linux/common/modify_ldt.c


Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/common/modify_ldt.c
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/common/modify_ldt.c	2006-07-04 22:23:01 UTC (rev 15608)
+++ trunk/uClibc/libc/sysdeps/linux/common/modify_ldt.c	2006-07-05 00:55:43 UTC (rev 15609)
@@ -7,14 +7,9 @@
  * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  */
 
-/* Nobody really uses this ... */
-#if 0
-
 #include "syscalls.h"
 
-#ifdef __NR_modify_ldt
 int modify_ldt (int func, void *ptr, unsigned long bytecount);
+#ifdef __NR_modify_ldt
 _syscall3(int, modify_ldt, int, func, void *, ptr, unsigned long, bytecount);
 #endif
-
-#endif




More information about the uClibc-cvs mailing list