Date: Sat, 29 Jan 2005 17:26:26 GMT From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 69925 for review Message-ID: <200501291726.j0THQQaf031865@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501291726.j0THQQaf031865>