Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 11 Apr 2012 22:35:20 -0400
From: Rich Felker <dalias@...ifal.cx>
To: musl@...ts.openwall.com
Subject: Re: Compatability: missing sys/vm86.h

On Tue, Apr 10, 2012 at 01:00:24PM -0700, Isaac Dunham wrote:
> sys/vm86.h is largely a wrapper for asm/vm86.h from linux-libc-dev, but
> provides one other function (prototype per man 2 vm86): 
> 
> int vm86(unsigned long fn, struct vm86plus_struct *v86);
> 
> There are no feature test macros required.
> 
> This is needed for some versions of Xvesa/Xfbdev, as well as dev86,
> dosemu, and a number of other programs.

Hmm, I recently (essentially) rejected a request to include sys/io.h
(legacy 16bit x86 port io) on the basis that it has no modern use and
is machine-specific. However vm86 is a little bit different since it's
a syscall.. and dosemu, while old and ugly, may be useful to some
people. Xfbdev using vm86 is just broken, but since there do seem to
be valid uses, I think this could potentially be added... and it might
call on me to rethink the rejection of sys/io.h.

Rich

Powered by blists - more mailing lists

Your e-mail address:

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.