Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Aug 2002 07:10:14 -0700 (PDT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 16112 for review
Message-ID:  <200208161410.g7GEAEm4006502@freefall.freebsd.org>

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

Change 16112 by rwatson@rwatson_tislabs on 2002/08/16 07:09:59

	Add empty mpo_syscall() implementations for mac_none and mac_test,
	since they do this for all entry points.

Affected files ...

.. //depot/projects/trustedbsd/mac/sys/security/mac_none/mac_none.c#68 edit
.. //depot/projects/trustedbsd/mac/sys/security/mac_test/mac_test.c#37 edit

Differences ...

==== //depot/projects/trustedbsd/mac/sys/security/mac_none/mac_none.c#68 (text+ko) ====

@@ -98,6 +98,13 @@
 
 }
 
+static int
+mac_none_syscall(struct thread *td, int call, void *arg)
+{
+
+	return (0);
+}
+
 /*
  * Label operations.
  */
@@ -910,6 +917,8 @@
 	    (macop_t)mac_none_destroy },
 	{ MAC_INIT,
 	    (macop_t)mac_none_init },
+	{ MAC_SYSCALL,
+	    (macop_t)mac_none_syscall },
 	{ MAC_INIT_BPFDESC,
 	    (macop_t)mac_none_init_bpfdesc },
 	{ MAC_INIT_CRED,

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

@@ -187,6 +187,13 @@
 
 }
 
+static int
+mac_test_syscall(struct thread *td, int call, void *arg)
+{
+
+	return (0);
+}
+
 /*
  * Label operations.
  */
@@ -1118,6 +1125,8 @@
 	    (macop_t)mac_test_destroy },
 	{ MAC_INIT,
 	    (macop_t)mac_test_init },
+	{ MAC_SYSCALL,
+	    (macop_t)mac_test_syscall },
 	{ MAC_INIT_BPFDESC,
 	    (macop_t)mac_test_init_bpfdesc },
 	{ MAC_INIT_CRED,

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?200208161410.g7GEAEm4006502>