From owner-p4-projects Mon Oct 21 11:16:13 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 027BE37B404; Mon, 21 Oct 2002 11:16:11 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A7EB637B401 for ; Mon, 21 Oct 2002 11:16:10 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4313643E65 for ; Mon, 21 Oct 2002 11:16:10 -0700 (PDT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id g9LIFemV021769 for ; Mon, 21 Oct 2002 11:15:40 -0700 (PDT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id g9LIFetf021766 for perforce@freebsd.org; Mon, 21 Oct 2002 11:15:40 -0700 (PDT) Date: Mon, 21 Oct 2002 11:15:40 -0700 (PDT) Message-Id: <200210211815.g9LIFetf021766@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson Subject: PERFORCE change 19815 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG http://perforce.freebsd.org/chv.cgi?CH=19815 Change 19815 by rwatson@rwatson_paprika on 2002/10/21 11:15:28 Spelling consistency for variables of similar nature between modules. Affected files ... .. //depot/projects/trustedbsd/mac/sys/security/mac_mls/mac_mls.c#126 edit Differences ... ==== //depot/projects/trustedbsd/mac/sys/security/mac_mls/mac_mls.c#126 (text+ko) ==== @@ -97,11 +97,10 @@ &ptys_equal, 0, "Label pty devices as mls/equal on create"); TUNABLE_INT("security.mac.mls.ptys_equal", &ptys_equal); -static int mac_mls_revocation_enabled = 0; +static int revocation_enabled = 0; SYSCTL_INT(_security_mac_mls, OID_AUTO, revocation_enabled, CTLFLAG_RW, - &mac_mls_revocation_enabled, 0, "Revoke access to objects on relabel"); -TUNABLE_INT("security.mac.mls.revocation_enabled", - &mac_mls_revocation_enabled); + &revocation_enabled, 0, "Revoke access to objects on relabel"); +TUNABLE_INT("security.mac.mls.revocation_enabled", &revocation_enabled); static int mac_mls_max_compartments = MAC_MLS_MAX_COMPARTMENTS; SYSCTL_INT(_security_mac_mls, OID_AUTO, max_compartments, CTLFLAG_RD, @@ -1956,7 +1955,7 @@ * Rely on the use of open()-time protections to handle * non-revocation cases. */ - if (!mac_mls_enabled || !mac_mls_revocation_enabled) + if (!mac_mls_enabled || !revocation_enabled) return (0); subj = SLOT(&cred->cr_label); @@ -2005,7 +2004,7 @@ { struct mac_mls *subj, *obj; - if (!mac_mls_enabled || !mac_mls_revocation_enabled) + if (!mac_mls_enabled || !revocation_enabled) return (0); subj = SLOT(&active_cred->cr_label); @@ -2023,7 +2022,7 @@ { struct mac_mls *subj, *obj; - if (!mac_mls_enabled || !mac_mls_revocation_enabled) + if (!mac_mls_enabled || !revocation_enabled) return (0); subj = SLOT(&active_cred->cr_label); @@ -2326,7 +2325,7 @@ { struct mac_mls *subj, *obj; - if (!mac_mls_enabled || !mac_mls_revocation_enabled) + if (!mac_mls_enabled || !revocation_enabled) return (0); subj = SLOT(&active_cred->cr_label); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message