From owner-p4-projects@FreeBSD.ORG Sat Jan 29 17:26:27 2005 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 51E2D16A4CF; Sat, 29 Jan 2005 17:26:27 +0000 (GMT) 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 12F2B16A4D0 for ; Sat, 29 Jan 2005 17:26:27 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA5AF43D39 for ; Sat, 29 Jan 2005 17:26:26 +0000 (GMT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j0THQQom031868 for ; Sat, 29 Jan 2005 17:26:26 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j0THQQaf031865 for perforce@freebsd.org; Sat, 29 Jan 2005 17:26:26 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Date: Sat, 29 Jan 2005 17:26:26 GMT Message-Id: <200501291726.j0THQQaf031865@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 To: Perforce Change Reviews Subject: PERFORCE change 69925 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Jan 2005 17:26:27 -0000 http://perforce.freebsd.org/chv.cgi?CH=69925 Change 69925 by rwatson@rwatson_paprika on 2005/01/29 17:26:10 Correct two typos: one probably from the original patch, and one that I definitely introduced. Affected files ... .. //depot/projects/trustedbsd/mac/sys/kern/kern_prot.c#45 edit .. //depot/projects/trustedbsd/mac/sys/security/mac/mac_process.c#15 edit Differences ... ==== //depot/projects/trustedbsd/mac/sys/kern/kern_prot.c#45 (text+ko) ==== @@ -614,7 +614,7 @@ oldcred = p->p_ucred; #ifdef MAC - error = mac_check_proc_seteuid(p, oldcred, euid; + error = mac_check_proc_seteuid(p, oldcred, euid); if (error) goto fail; #endif ==== //depot/projects/trustedbsd/mac/sys/security/mac/mac_process.c#15 (text+ko) ==== @@ -87,7 +87,7 @@ "copy-on-write semantics, or by removing all write access"); static int mac_enforce_suid = 1; -SYSCTL_INT(_security_mac, OID_AUTO, enforce_suid, CTLFLAW_RW, +SYSCTL_INT(_security_mac, OID_AUTO, enforce_suid, CTLFLAG_RW, &mac_enforce_suid, 0, "Enforce MAC policy on suid/sgid operations"); TUNABLE_INT("security.mac.enforce_suid", &mac_enforce_suid);