From owner-cvs-src@FreeBSD.ORG Sat Dec 6 13:48:04 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5E35316A4CE; Sat, 6 Dec 2003 13:48:04 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7ADE943FBF; Sat, 6 Dec 2003 13:48:03 -0800 (PST) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hB6Lm3XJ069485; Sat, 6 Dec 2003 13:48:03 -0800 (PST) (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hB6Lm3Te069484; Sat, 6 Dec 2003 13:48:03 -0800 (PST) (envelope-from rwatson) Message-Id: <200312062148.hB6Lm3Te069484@repoman.freebsd.org> From: Robert Watson Date: Sat, 6 Dec 2003 13:48:03 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern kern_prot.c src/sys/security/mac mac_process.c src/sys/security/mac_biba mac_biba.c src/sys/security/mac_lomac mac_lomac.c src/sys/security/mac_mls mac_mls.c src/sys/security/mac_partition mac_partition.c ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Dec 2003 21:48:04 -0000 rwatson 2003/12/06 13:48:03 PST FreeBSD src repository Modified files: sys/kern kern_prot.c sys/security/mac mac_process.c sys/security/mac_biba mac_biba.c sys/security/mac_lomac mac_lomac.c sys/security/mac_mls mac_mls.c sys/security/mac_partition mac_partition.c sys/security/mac_stub mac_stub.c sys/security/mac_test mac_test.c sys/sys mac.h mac_policy.h Log: Rename mac_create_cred() MAC Framework entry point to mac_copy_cred(), and the mpo_create_cred() MAC policy entry point to mpo_copy_cred_label(). This is more consistent with similar entry points for creation and label copying, as mac_create_cred() was called from crdup() as opposed to during process creation. For a number of policies, this removes the requirement for special handling when copying credential labels, and improves consistency. Approved by: re (scottl) Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories Revision Changes Path 1.179 +1 -1 src/sys/kern/kern_prot.c 1.105 +2 -2 src/sys/security/mac/mac_process.c 1.72 +1 -13 src/sys/security/mac_biba/mac_biba.c 1.25 +1 -13 src/sys/security/mac_lomac/mac_lomac.c 1.59 +1 -13 src/sys/security/mac_mls/mac_mls.c 1.9 +8 -8 src/sys/security/mac_partition/mac_partition.c 1.36 +1 -7 src/sys/security/mac_stub/mac_stub.c 1.38 +9 -9 src/sys/security/mac_test/mac_test.c 1.52 +1 -1 src/sys/sys/mac.h 1.46 +2 -2 src/sys/sys/mac_policy.h