diff options
author | rwatson <rwatson@FreeBSD.org> | 2002-08-20 02:53:35 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2002-08-20 02:53:35 +0000 |
commit | d4026d9db720dfcc6a6953d7aaaf3e7897353536 (patch) | |
tree | ae73bd77d77679134c20ef68fb95a3953e494922 /sys/security/mac_test/mac_test.c | |
parent | 11f2a24707c2005326b0d5e9df483fc22c7753f2 (diff) | |
download | FreeBSD-src-d4026d9db720dfcc6a6953d7aaaf3e7897353536.zip FreeBSD-src-d4026d9db720dfcc6a6953d7aaaf3e7897353536.tar.gz |
Provide stub mpo_syscall() implementations for mac_none and mac_test.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
Diffstat (limited to 'sys/security/mac_test/mac_test.c')
-rw-r--r-- | sys/security/mac_test/mac_test.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/security/mac_test/mac_test.c b/sys/security/mac_test/mac_test.c index e6b5da8..4ccae53 100644 --- a/sys/security/mac_test/mac_test.c +++ b/sys/security/mac_test/mac_test.c @@ -187,6 +187,13 @@ mac_test_init(struct mac_policy_conf *conf) } +static int +mac_test_syscall(struct thread *td, int call, void *arg) +{ + + return (0); +} + /* * Label operations. */ @@ -1142,6 +1149,8 @@ static struct mac_policy_op_entry mac_test_ops[] = (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, |