diff options
| author | Robert Watson <rwatson@FreeBSD.org> | 2002-08-15 18:51:27 +0000 |
|---|---|---|
| committer | Robert Watson <rwatson@FreeBSD.org> | 2002-08-15 18:51:27 +0000 |
| commit | fb95b5d3c3d91d5c06e16abf161c11d4be32fb7a (patch) | |
| tree | 470986e91feb7d5a517a603465e7a4febc995bb4 /sys/security/mac_test/mac_test.c | |
| parent | d61198e422e40a336aa2bcefe4e97511b78315b6 (diff) | |
Notes
Diffstat (limited to 'sys/security/mac_test/mac_test.c')
| -rw-r--r-- | sys/security/mac_test/mac_test.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/security/mac_test/mac_test.c b/sys/security/mac_test/mac_test.c index c3050d2f02a5..2e0d3ca2cb28 100644 --- a/sys/security/mac_test/mac_test.c +++ b/sys/security/mac_test/mac_test.c @@ -862,16 +862,16 @@ mac_test_check_socket_connect(struct ucred *cred, struct socket *socket, } static int -mac_test_check_socket_listen(struct ucred *cred, struct socket *socket, - struct label *socketlabel, struct sockaddr *sockaddr) +mac_test_check_socket_deliver(struct socket *socket, struct label *socketlabel, + struct mbuf *m, struct label *mbuflabel) { return (0); } static int -mac_test_check_socket_receive(struct socket *socket, struct label *socketlabel, - struct mbuf *m, struct label *mbuflabel) +mac_test_check_socket_listen(struct ucred *cred, struct socket *socket, + struct label *socketlabel, struct sockaddr *sockaddr) { return (0); @@ -1248,10 +1248,10 @@ static struct mac_policy_op_entry mac_test_ops[] = (macop_t)mac_test_check_socket_bind }, { MAC_CHECK_SOCKET_CONNECT, (macop_t)mac_test_check_socket_connect }, + { MAC_CHECK_SOCKET_DELIVER, + (macop_t)mac_test_check_socket_deliver }, { MAC_CHECK_SOCKET_LISTEN, (macop_t)mac_test_check_socket_listen }, - { MAC_CHECK_SOCKET_RECEIVE, - (macop_t)mac_test_check_socket_receive }, { MAC_CHECK_SOCKET_RELABEL, (macop_t)mac_test_check_socket_relabel }, { MAC_CHECK_SOCKET_VISIBLE, |
