diff options
| author | Robert Watson <rwatson@FreeBSD.org> | 2002-08-20 02:53:35 +0000 |
|---|---|---|
| committer | Robert Watson <rwatson@FreeBSD.org> | 2002-08-20 02:53:35 +0000 |
| commit | 8a97ecf6482c406db00d7919be8e99edccf796eb (patch) | |
| tree | ae73bd77d77679134c20ef68fb95a3953e494922 | |
| parent | 0a9b91cde1e95475a57d43c266692b5a8deaad5f (diff) | |
Notes
| -rw-r--r-- | sys/security/mac_none/mac_none.c | 9 | ||||
| -rw-r--r-- | sys/security/mac_stub/mac_stub.c | 9 | ||||
| -rw-r--r-- | sys/security/mac_test/mac_test.c | 9 |
3 files changed, 27 insertions, 0 deletions
diff --git a/sys/security/mac_none/mac_none.c b/sys/security/mac_none/mac_none.c index e473dd8812c9d..08130110b2c1c 100644 --- a/sys/security/mac_none/mac_none.c +++ b/sys/security/mac_none/mac_none.c @@ -98,6 +98,13 @@ mac_none_init(struct mac_policy_conf *conf) } +static int +mac_none_syscall(struct thread *td, int call, void *arg) +{ + + return (0); +} + /* * Label operations. */ @@ -934,6 +941,8 @@ static struct mac_policy_op_entry mac_none_ops[] = (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, diff --git a/sys/security/mac_stub/mac_stub.c b/sys/security/mac_stub/mac_stub.c index e473dd8812c9d..08130110b2c1c 100644 --- a/sys/security/mac_stub/mac_stub.c +++ b/sys/security/mac_stub/mac_stub.c @@ -98,6 +98,13 @@ mac_none_init(struct mac_policy_conf *conf) } +static int +mac_none_syscall(struct thread *td, int call, void *arg) +{ + + return (0); +} + /* * Label operations. */ @@ -934,6 +941,8 @@ static struct mac_policy_op_entry mac_none_ops[] = (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, diff --git a/sys/security/mac_test/mac_test.c b/sys/security/mac_test/mac_test.c index e6b5da837b0a5..4ccae538ff7cf 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, |
