Date: Sat, 23 Sep 2006 19:06:54 +0000 (UTC) From: Alexander Leidinger <netchild@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/compat/linux linux_file.c linux_socket.c Message-ID: <200609231906.k8NJ6smx010022@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
netchild 2006-09-23 19:06:54 UTC
FreeBSD src repository
Modified files:
sys/compat/linux linux_file.c linux_socket.c
Log:
MFp4:
- Linux returns ENOPROTOOPT in a case of not supported opt to setsockopt.
- Return EISDIR in pread() when arg is a directory.
- Return EINVAL instead of EFAULT when namelen is not correct in accept().
- Return EINVAL instead of EACCESS if invalid access mode is entered in
access().
- Return EINVAL instead of EADDRNOTAVAIL in a case of bad salen param
to bind().
Submitted by: rdivacky
Tested with: LTP (vfork01 fails now, but it seems to be a race and
not caused by those changes)
MFC after: 1 week
Revision Changes Path
1.98 +23 -1 src/sys/compat/linux/linux_file.c
1.71 +7 -2 src/sys/compat/linux/linux_socket.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609231906.k8NJ6smx010022>
