Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jun 2005 04:50:12 GMT
From:      "Christian S.J. Peron" <csjp@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 78223 for review
Message-ID:  <200506090450.j594oCAk094544@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=78223

Change 78223 by csjp@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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506090450.j594oCAk094544>