From owner-cvs-all@FreeBSD.ORG Mon Feb 19 22:56:11 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F3A8A16ECD2; Mon, 19 Feb 2007 22:56:10 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id CA6B613C491; Mon, 19 Feb 2007 22:56:10 +0000 (UTC) (envelope-from rwatson@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 l1JMuANZ029272; Mon, 19 Feb 2007 22:56:10 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id l1JMuAvx029271; Mon, 19 Feb 2007 22:56:10 GMT (envelope-from rwatson) Message-Id: <200702192256.l1JMuAvx029271@repoman.freebsd.org> From: Robert Watson Date: Mon, 19 Feb 2007 22:56:10 +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/kern sysv_shm.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: Mon, 19 Feb 2007 22:56:11 -0000 rwatson 2007-02-19 22:56:10 UTC FreeBSD src repository Modified files: sys/kern sysv_shm.c Log: Remove call to ipcperm() in shmget_existing(). The flags argument is ignored on other systems I investigated when accessing an existing memory segment rather than creating a new one. This call to ipcperm() is the only one to pass in a complete mode flag to the permission checks rather than a simple access request mask, and caused problems for the revised ipcperm() based on the priv(9) interface, which can now be restored. PR: 106078 Revision Changes Path 1.109 +0 -3 src/sys/kern/sysv_shm.c