2003-12-05 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@gnu.org>
Mon, 9 Feb 2004 21:46:35 +0000 (21:46 +0000)
committerRoland McGrath <roland@gnu.org>
Mon, 9 Feb 2004 21:46:35 +0000 (21:46 +0000)
* sysdeps/unix/sysv/linux/i386/syscalls.list: Turn vm86 into vm86old
for vm86@GLIBC_2.0 version.  Add new vm86@GLIBC_2.3.4.
* sysdeps/unix/sysv/linux/i386/Versions (libc: GLIBC_2.3.4): Add vm86.
* sysdeps/unix/sysv/linux/i386/sys/vm86.h: Update vm86 prototype.

sysdeps/unix/sysv/linux/i386/Versions
sysdeps/unix/sysv/linux/i386/sys/vm86.h
sysdeps/unix/sysv/linux/i386/syscalls.list

index ef3c85508934dd2cd7ad7f39c47bcf122df36ac3..abd1d152d794edf748de4cdd42c96b75f7462adf 100644 (file)
@@ -34,8 +34,13 @@ libc {
     versionsort64;
   }
   GLIBC_2.3.3 {
+    # p*
     posix_fadvise64; posix_fallocate64;
   }
+  GLIBC_2.3.4 {
+    # v*
+    vm86;
+  }
   GLIBC_PRIVATE {
     __modify_ldt;
   }
index 8faeed7f13827a001333edfcb9753812772dcaeb..4c5152c2e0437496c9e7e82ca6e163d696c3ee4f 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1999, 2003 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
@@ -27,7 +27,8 @@
 __BEGIN_DECLS
 
 /* Enter virtual 8086 mode.  */
-extern int vm86 (struct vm86_struct *__info) __THROW;
+extern int vm86 (unsigned long int __subfunction,
+                struct vm86plus_struct *__info) __THROW;
 
 __END_DECLS
 
index d637f3172ac9dc1819121a3c3e9a0e624f10aba7..ddd81be5beff45fd24c44108f8987704af0f2576 100644 (file)
@@ -1,7 +1,8 @@
 # File name    Caller  Syscall name    Args    Strong name     Weak names
 
 modify_ldt     EXTRA   modify_ldt      i:ipi   __modify_ldt    modify_ldt
-vm86           -       vm86            i:p     __vm86          vm86
+vm86old                EXTRA   vm86old         i:p     __vm86old       vm86@GLIBC_2.0
+vm86           -       vm86            i:ip    __vm86          vm86@GLIBC_2.3.4
 oldgetrlimit   EXTRA   getrlimit       i:ip    __old_getrlimit getrlimit@GLIBC_2.0
 oldsetrlimit   EXTRA   setrlimit       i:ip    __old_setrlimit setrlimit@GLIBC_2.0
 time           -       time            Ei:p    time