From owner-cvs-src-old@FreeBSD.ORG Thu Oct 30 10:13:58 2008 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 874DF1065689 for ; Thu, 30 Oct 2008 10:13:58 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 70F598FC4E for ; Thu, 30 Oct 2008 10:13:58 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id m9UADwYc005117 for ; Thu, 30 Oct 2008 10:13:58 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id m9UADwtg005116 for cvs-src-old@freebsd.org; Thu, 30 Oct 2008 10:13:58 GMT (envelope-from rwatson@repoman.freebsd.org) Message-Id: <200810301013.m9UADwtg005116@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to rwatson@repoman.freebsd.org using -f From: Robert Watson Date: Thu, 30 Oct 2008 10:13:53 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/security/mac_bsdextended mac_bsdextended.c ugidfw_internal.h ugidfw_vnode.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2008 10:13:58 -0000 rwatson 2008-10-30 10:13:53 UTC FreeBSD src repository Modified files: sys/security/mac_bsdextended mac_bsdextended.c ugidfw_internal.h ugidfw_vnode.c Log: SVN rev 184467 on 2008-10-30 10:13:53Z by rwatson The V* flags passed using an accmode_t to the access() and open() access control checks in mac_bsdextended are not in the same namespace as the MBI_ flags used in ugidfw policies, so add an explicit conversion routine to get from one to the other. Obtained from: TrustedBSD Project Revision Changes Path 1.52 +22 -1 src/sys/security/mac_bsdextended/mac_bsdextended.c 1.4 +1 -0 src/sys/security/mac_bsdextended/ugidfw_internal.h 1.4 +3 -11 src/sys/security/mac_bsdextended/ugidfw_vnode.c