Sfoglia il codice sorgente

The ltp testsuite fails on x86 without the modify_ldt syscall

Eric Andersen 18 anni fa
parent
commit
5e901f9e6b
1 ha cambiato i file con 1 aggiunte e 6 eliminazioni
  1. 1 6
      libc/sysdeps/linux/common/modify_ldt.c

+ 1 - 6
libc/sysdeps/linux/common/modify_ldt.c

@@ -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