diff options
author | rwatson <rwatson@FreeBSD.org> | 2002-08-15 18:51:27 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2002-08-15 18:51:27 +0000 |
commit | aa8060c29eeb4a85d171a23017f4e933f79b0cfe (patch) | |
tree | 470986e91feb7d5a517a603465e7a4febc995bb4 /sys/netinet/udp_usrreq.c | |
parent | 9725be3a61bad07fdfb0fb8789d43a39078736fd (diff) | |
download | FreeBSD-src-aa8060c29eeb4a85d171a23017f4e933f79b0cfe.zip FreeBSD-src-aa8060c29eeb4a85d171a23017f4e933f79b0cfe.tar.gz |
Rename mac_check_socket_receive() to mac_check_socket_deliver() so that
we can use the names _receive() and _send() for the receive() and send()
checks. Rename related constants, policy implementations, etc.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
Diffstat (limited to 'sys/netinet/udp_usrreq.c')
-rw-r--r-- | sys/netinet/udp_usrreq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c index cc7a59c..1580d74 100644 --- a/sys/netinet/udp_usrreq.c +++ b/sys/netinet/udp_usrreq.c @@ -320,7 +320,7 @@ udp_input(m, off) } #endif /*IPSEC*/ #ifdef MAC - if (mac_check_socket_receive(last->inp_socket, + if (mac_check_socket_deliver(last->inp_socket, m) != 0) policyfail = 1; #endif @@ -406,7 +406,7 @@ udp_input(m, off) } #endif /*IPSEC*/ #ifdef MAC - error = mac_check_socket_receive(inp->inp_socket, m); + error = mac_check_socket_deliver(inp->inp_socket, m); if (error) goto bad; #endif |