From owner-cvs-src@FreeBSD.ORG Sat Sep 23 19:06:56 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 99E2516A412; Sat, 23 Sep 2006 19:06:56 +0000 (UTC) (envelope-from netchild@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E8CC143D79; Sat, 23 Sep 2006 19:06:54 +0000 (GMT) (envelope-from netchild@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k8NJ6sCB010023; Sat, 23 Sep 2006 19:06:54 GMT (envelope-from netchild@repoman.freebsd.org) Received: (from netchild@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k8NJ6smx010022; Sat, 23 Sep 2006 19:06:54 GMT (envelope-from netchild) Message-Id: <200609231906.k8NJ6smx010022@repoman.freebsd.org> From: Alexander Leidinger Date: Sat, 23 Sep 2006 19:06:54 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/compat/linux linux_file.c linux_socket.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Sep 2006 19:06:56 -0000 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