From owner-cvs-all@FreeBSD.ORG Thu Oct 21 11:19:03 2004 Return-Path: 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 3018216A4CE; Thu, 21 Oct 2004 11:19:03 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 250FE43D1F; Thu, 21 Oct 2004 11:19:03 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i9LBJ3Nm033493; Thu, 21 Oct 2004 11:19:03 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i9LBJ2mC033492; Thu, 21 Oct 2004 11:19:03 GMT (envelope-from rwatson) Message-Id: <200410211119.i9LBJ2mC033492@repoman.freebsd.org> From: Robert Watson Date: Thu, 21 Oct 2004 11:19:02 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/security/mac_bsdextended mac_bsdextended.c mac_bsdextended.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 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, 21 Oct 2004 11:19:03 -0000 rwatson 2004-10-21 11:19:02 UTC FreeBSD src repository Modified files: sys/security/mac_bsdextended mac_bsdextended.c mac_bsdextended.h Log: Modify mac_bsdextended policy so that it defines its own vnode access right bits rather than piggy-backing on the V* rights defined in vnode.h. The mac_bsdextended bits are given the same values as the V* bits to make the new kernel module binary compatible with the old version of libugidfw that uses V* bits. This avoids leaking kernel API/ABI to user management tools, and in particular should remove the need for libugidfw to include vnode.h. Requested by: phk Revision Changes Path 1.22 +59 -33 src/sys/security/mac_bsdextended/mac_bsdextended.c 1.4 +15 -0 src/sys/security/mac_bsdextended/mac_bsdextended.h