From owner-cvs-all Mon Mar 13 15: 0:17 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id C8DA737B54B; Mon, 13 Mar 2000 15:00:15 -0800 (PST) (envelope-from bsd@FreeBSD.org) Received: (from bsd@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id PAA67292; Mon, 13 Mar 2000 15:00:10 -0800 (PST) (envelope-from bsd@FreeBSD.org) Message-Id: <200003132300.PAA67292@freefall.freebsd.org> From: "Brian S. Dean" Date: Mon, 13 Mar 2000 15:00:10 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern sysv_ipc.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG bsd 2000/03/13 15:00:10 PST Modified files: sys/kern sysv_ipc.c Log: In 'ipcperm()', only call 'suser()' if it is actually required. Previously, it was being called whether it was needed or not and the ASU flag was being set (as a side affect of calling 'suser()') in cases where superuser privileges were not actually needed. This was all pointed out to me by Bruce Evans. Reviewed by: bde Revision Changes Path 1.14 +3 -8 src/sys/kern/sysv_ipc.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message