PERFORCE change 16106 for review

Chris Vance cvance at freebsd.org
Fri Aug 16 13:17:04 GMT 2002


http://people.freebsd.org/~peter/p4db/chv.cgi?CH=16106

Change 16106 by cvance at cvance_laptop on 2002/08/16 06:16:17

	Oops, after resolving I missed this one: Also pass thread to MAC syscall handlers.

Affected files ...

.. //depot/projects/trustedbsd/mac/sys/kern/kern_mac.c#246 edit

Differences ...

==== //depot/projects/trustedbsd/mac/sys/kern/kern_mac.c#246 (text+ko) ====

@@ -3259,8 +3259,9 @@
 	LIST_FOREACH(mpc, &mac_policy_list, mpc_list) {
 		if (strcmp(mpc->mpc_name, target) == 0 &&
 			mpc->mpc_ops->mpo_mac_syscall) {
-			error = mpc->mpc_ops->mpo_mac_syscall(SCARG(uap, call),
-							     SCARG(uap, arg));
+			error = mpc->mpc_ops->mpo_mac_syscall(td, 
+							      SCARG(uap, call),
+							      SCARG(uap, arg));
 			goto out;
 		}
 	}
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