PERFORCE change 78223 for review

Christian S.J. Peron csjp at FreeBSD.org
Thu Jun 9 04:50:12 GMT 2005


http://perforce.freebsd.org/chv.cgi?CH=78223

Change 78223 by csjp at csjp_xor on 2005/06/09 04:49:14

	Be sure to propagate the error generated by the mac_syscall_enter entry
	back to the system call so we know there was a failure.

Affected files ...

.. //depot/projects/trustedbsd/mac/sys/i386/i386/trap.c#37 edit

Differences ...

==== //depot/projects/trustedbsd/mac/sys/i386/i386/trap.c#37 (text+ko) ====

@@ -980,6 +980,8 @@
 		mac_error = mac_syscall_enter(td, args, code);
 		if (mac_error == 0)
 			error = (*callp->sy_call)(td, args);
+		else
+			error = mac_error;
 		mac_syscall_exit(td, args, code, error, mac_error);
 #else
 		error = (*callp->sy_call)(td, args);
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