From owner-cvs-all@FreeBSD.ORG Thu Jul 6 21:38:25 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C90E616A4DA; Thu, 6 Jul 2006 21:38:25 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C56C43D55; Thu, 6 Jul 2006 21:38:25 +0000 (GMT) (envelope-from jhb@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 k66LcP2h050472; Thu, 6 Jul 2006 21:38:25 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k66LcPjv050471; Thu, 6 Jul 2006 21:38:25 GMT (envelope-from jhb) Message-Id: <200607062138.k66LcPjv050471@repoman.freebsd.org> From: John Baldwin Date: Thu, 6 Jul 2006 21:38:25 +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/svr4 svr4_ipc.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Jul 2006 21:38:25 -0000 jhb 2006-07-06 21:38:25 UTC FreeBSD src repository Modified files: sys/compat/svr4 svr4_ipc.c Log: Don't try to copyin extra data for IPC_RMID requests to msgctl() or shmctl(). None of the other ABI's do this (including the native FreeBSD ABI), and uselessly trying to do a copyin() can actually result in a bogus EFAULT if the a process specifies NULL for the optional argument (which is what they should do in this case). Revision Changes Path 1.22 +1 -6 src/sys/compat/svr4/svr4_ipc.c