PERFORCE change 52293 for review
Andrew Reisse
areisse at FreeBSD.org
Wed May 5 13:16:24 GMT 2004
http://perforce.freebsd.org/chv.cgi?CH=52293
Change 52293 by areisse at 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 */
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message
More information about the trustedbsd-cvs
mailing list