Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Frank van der Linden <fvdl@netbsd.org>
List: source-changes
Date: 12/29/2000 22:07:26
Module Name:	syssrc
Committed By:	fvdl
Date:		Fri Dec 29 20:07:26 UTC 2000

Modified Files:
	syssrc/sys/compat/linux/arch/i386: linux_machdep.c

Log Message:
Under Linux it's possible to return values through the ioctl system
call directly (i.e. not a reference argument, but a direct return
value). So far I have only seen this with binaries that talk
to their own device modules, using non-standard ioctl calls.
Hence, allow for a pass-through ioctl call using PTIOCLINUX to
return EJUSTRETURN, signalling that the return value is in
the 'data' field of the structure, which can then be put in 'retval'.


To generate a diff of this commit:
cvs rdiff -r1.56 -r1.57 syssrc/sys/compat/linux/arch/i386/linux_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.