Date: Wed, 5 May 2004 06:16:24 -0700 (PDT) From: Andrew Reisse <areisse@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 52293 for review Message-ID: <200405051316.i45DGOju025660@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=52293 Change 52293 by areisse@areisse_ibook on 2004/05/05 06:15:37 mac check returned backwards values from cansignal. Affected files ... .. //depot/projects/trustedbsd/sedarwin73/apsl/xnu/bsd/kern/kern_sig.c#3 edit Differences ... ==== //depot/projects/trustedbsd/sedarwin73/apsl/xnu/bsd/kern/kern_sig.c#3 (text+ko) ==== @@ -208,11 +208,9 @@ struct proc *q; int signum; { - int error; - #ifdef MAC - if ((error = mac_check_proc_signal(pc->pc_ucred, q, signum))) - return (error); + if (0 != mac_check_proc_signal(pc->pc_ucred, q, signum)) + return 0; #endif /* you can signal yourself */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200405051316.i45DGOju025660>
