Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Aug 2002 06:43:03 -0700 (PDT)
From:      Chris Vance <cvance@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 15446 for review
Message-ID:  <200208021343.g72Dh3FB033786@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=15446

Change 15446 by cvance@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@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




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