PERFORCE change 15446 for review

Chris Vance cvance at freebsd.org
Fri Aug 2 13:43:03 GMT 2002


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

Change 15446 by cvance at cvance_laptop on 2002/08/02 06:42:56

	Fix minor bug in mac_policy syscall handler (missing break)
	Commit changes to syscall.master generated stuff.

Affected files ...

.. //depot/projects/trustedbsd/mac/sys/kern/init_sysent.c#24 edit
.. //depot/projects/trustedbsd/mac/sys/kern/kern_mac.c#226 edit
.. //depot/projects/trustedbsd/mac/sys/kern/syscalls.c#24 edit

Differences ...

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

@@ -422,5 +422,5 @@
 	{ AS(lchflags_args), (sy_call_t *)lchflags },	/* 391 = lchflags */
 	{ AS(uuidgen_args), (sy_call_t *)uuidgen },	/* 392 = uuidgen */
 	{ SYF_MPSAFE | AS(sendfile_args), (sy_call_t *)sendfile },	/* 393 = sendfile */
-	{ SYF_MPSAFE | AS(mac_policy_args), (sy_call_t *)nosys },	/* 394 = mac_policy */
+	{ SYF_MPSAFE | AS(mac_policy_args), (sy_call_t *)mac_policy },	/* 394 = mac_policy */
 };

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

@@ -366,6 +366,7 @@
 		case MAC_SYSCALL:
 			mpc->mpc_ops->mpo_mac_policy =
 			    mpe->mpe_function;
+			break;
 		case MAC_DESTROY:
 			mpc->mpc_ops->mpo_destroy =
 			    mpe->mpe_function;

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

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