Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys/compat/linux/common
Module Name: src
Committed By: yamt
Date: Thu Jun 3 01:53:29 UTC 2004
Modified Files:
src/sys/compat/linux/common: linux_ioctl.c
Log Message:
linux_sys_ioctl: map EPASSTHROUGH to EINVAL as sys_ioctl does.
otherwise, linux_syscall() returns garbage, at least on i386.
(it returns native_to_linux_errno[EPASSTHROUGH] where EPASSTHROUGH == -4.)
i choose EINVAL rather than ENOTTY, because linux's pipe returns it
and i think that it's a common case.
To generate a diff of this commit:
cvs rdiff -r1.38 -r1.39 src/sys/compat/linux/common/linux_ioctl.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index