From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25291 invoked by alias); 2 Dec 2003 23:49:55 -0000 Mailing-List: contact libc-hacker-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sources.redhat.com Received: (qmail 25265 invoked from network); 2 Dec 2003 23:49:53 -0000 Received: from unknown (HELO gateway.sf.frob.com) (64.81.54.130) by sources.redhat.com with SMTP; 2 Dec 2003 23:49:53 -0000 Received: from magilla.sf.frob.com (magilla.sf.frob.com [198.49.250.228]) by gateway.sf.frob.com (Postfix) with ESMTP id C7773357B; Tue, 2 Dec 2003 15:49:51 -0800 (PST) Received: from magilla.sf.frob.com (localhost.localdomain [127.0.0.1]) by magilla.sf.frob.com (8.12.9/8.12.9) with ESMTP id hB2NnpHi008170; Tue, 2 Dec 2003 15:49:51 -0800 Received: (from roland@localhost) by magilla.sf.frob.com (8.12.9/8.12.9/Submit) id hB2NnoaM008166; Tue, 2 Dec 2003 15:49:50 -0800 Date: Tue, 02 Dec 2003 23:49:00 -0000 Message-Id: <200312022349.hB2NnoaM008166@magilla.sf.frob.com> From: Roland McGrath To: GNU libc hackers Subject: vm86 system call update X-Antipastobozoticataclysm: When George Bush projectile vomits antipasto on the Japanese. X-SW-Source: 2003-12/txt/msg00007.txt.bz2 Linux/i386 deprecated the old vm86 system call number and added a new one that takes different parameters, a good while ago now I gather. This adds a new stub for it with the right prototype, while preserving binary compatibility with the old stub. Ok? 2003-12-02 Roland McGrath * sysdeps/unix/sysv/linux/i386/syscalls.list: Turn vm86 into vm86old for vm86@GLIBC_2.0 version. Add new vm86@GLIBC_2.3.3. * sysdeps/unix/sysv/linux/i386/Versions (libc: GLIBC_2.3.3): Add vm86. * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Update vm86 prototype. Index: sysdeps/unix/sysv/linux/i386/Versions =================================================================== RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/i386/Versions,v retrieving revision 1.15 diff -b -p -u -r1.15 Versions --- sysdeps/unix/sysv/linux/i386/Versions 22 Aug 2003 18:10:45 -0000 1.15 +++ sysdeps/unix/sysv/linux/i386/Versions 2 Dec 2003 23:48:05 -0000 @@ -34,7 +34,11 @@ libc { versionsort64; } GLIBC_2.3.3 { + # p* posix_fadvise64; posix_fallocate64; + + # v* + vm86; } GLIBC_PRIVATE { __modify_ldt; Index: sysdeps/unix/sysv/linux/i386/syscalls.list =================================================================== RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/i386/syscalls.list,v retrieving revision 1.17 diff -b -p -u -r1.17 syscalls.list --- sysdeps/unix/sysv/linux/i386/syscalls.list 2 Sep 2003 08:41:12 -0000 1.17 +++ sysdeps/unix/sysv/linux/i386/syscalls.list 2 Dec 2003 23:48:05 -0000 @@ -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.3 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 Index: sysdeps/unix/sysv/linux/i386/sys/vm86.h =================================================================== RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/i386/sys/vm86.h,v retrieving revision 1.5 diff -b -p -u -r1.5 vm86.h --- sysdeps/unix/sysv/linux/i386/sys/vm86.h 6 Jul 2001 04:56:17 -0000 1.5 +++ sysdeps/unix/sysv/linux/i386/sys/vm86.h 2 Dec 2003 23:48:05 -0000 @@ -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