From owner-p4-projects Mon Aug 12 18: 5:52 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 95F0037B401; Mon, 12 Aug 2002 18:05:48 -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 3923D37B400 for ; Mon, 12 Aug 2002 18:05:48 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E6F6443E6A for ; Mon, 12 Aug 2002 18:05:47 -0700 (PDT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from freefall.freebsd.org (perforce@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7D15lJU055531 for ; Mon, 12 Aug 2002 18:05:47 -0700 (PDT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7D15l5d055528 for perforce@freebsd.org; Mon, 12 Aug 2002 18:05:47 -0700 (PDT) Date: Mon, 12 Aug 2002 18:05:47 -0700 (PDT) Message-Id: <200208130105.g7D15l5d055528@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson Subject: PERFORCE change 15886 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://people.freebsd.org/~peter/p4db/chv.cgi?CH=15886 Change 15886 by rwatson@rwatson_tislabs on 2002/08/12 18:05:04 Change the default behavior when revoking a mapping from "fail not-stop" to "fail-stop". This is the expected behavior for most policies for consistency with other platforms -- we may want to investigate whether we can find a way to allow policies to express a preference on downgrade behavior. Affected files ... .. //depot/projects/trustedbsd/mac/sys/kern/kern_mac.c#236 edit Differences ... ==== //depot/projects/trustedbsd/mac/sys/kern/kern_mac.c#236 (text+ko) ==== @@ -161,7 +161,7 @@ static int mac_vnode_label_cache_misses = 0; SYSCTL_INT(_security_mac, OID_AUTO, vnode_label_cache_misses, CTLFLAG_RD, &mac_vnode_label_cache_misses, 0, "Cache misses on vnode labels"); -static int mac_mmap_revocation_via_cow = 1; +static int mac_mmap_revocation_via_cow = 0; SYSCTL_INT(_security_mac, OID_AUTO, mmap_revocation_via_cow, CTLFLAG_RW, &mac_mmap_revocation_via_cow, 0, "Revoke mmap access to files via " "copy-on-write semantics, or by removing all write access"); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message