PERFORCE change 16112 for review
Robert Watson
rwatson at freebsd.org
Fri Aug 16 14:10:14 GMT 2002
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=16112
Change 16112 by rwatson at 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 at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message
More information about the trustedbsd-cvs
mailing list