Date: Wed, 9 Feb 2005 16:08:54 GMT From: Tom Rhodes <trhodes@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 70703 for review Message-ID: <200502091608.j19G8sMu090382@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=70703 Change 70703 by trhodes@trhodes_local on 2005/02/09 16:08:16 Some style and grammar changes. Affected files ... .. //depot/projects/trustedbsd/mac/sys/security/mac_bsdextended/mac_bsdextended.c#80 edit Differences ... ==== //depot/projects/trustedbsd/mac/sys/security/mac_bsdextended/mac_bsdextended.c#80 (text+ko) ==== @@ -99,7 +99,7 @@ &rule_slots, 0, "Number of used rule slots\n"); /* - * This is just used for logging purposes as eventually we would like + * This is just used for logging purposes, eventually we would like * to log much more then failed requests. */ static int mac_bsdextended_logging; @@ -192,10 +192,9 @@ *rules[index] = temprule; } mtx_unlock(&mac_bsdextended_mtx); - return 0; + return (0); } - if (req->oldptr) { mtx_lock(&mac_bsdextended_mtx); if (index < 0 || index > rule_slots + 1) { @@ -311,8 +310,8 @@ return (EACCES); /* Matching rule denies access */ } /* - * If the rule matched and allowed access and first match is - * enabled, then return success. + * If the rule matched, permits access, and first match is + * enabled, return success. */ if (mac_bsdextended_firstmatch_enabled) return (EJUSTRETURN); @@ -335,7 +334,7 @@ continue; /* - * Since we don't separately handle append, map append to + * Since we do not separately handle append, map append to * write. */ if (acc_mode & MBI_APPEND) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502091608.j19G8sMu090382>