diff options
author | rwatson <rwatson@FreeBSD.org> | 2009-03-08 12:22:00 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2009-03-08 12:22:00 +0000 |
commit | b6bad806514e2e92c0c1e3b7ce10c132ef10f499 (patch) | |
tree | 493f42f57b4640c031729887a5d5fc83b24a7241 /sys/security/mac/mac_socket.c | |
parent | 5e4df0321040298824b89122715cfbc3a7e80b53 (diff) | |
download | FreeBSD-src-b6bad806514e2e92c0c1e3b7ce10c132ef10f499.zip FreeBSD-src-b6bad806514e2e92c0c1e3b7ce10c132ef10f499.tar.gz |
Rename 'ucred' argument to mac_socket_check_bind() to 'cred' to match
other use of the same variable type.
Obtained from: TrustedBSD Project
Sponsored by: Google, Inc.
Diffstat (limited to 'sys/security/mac/mac_socket.c')
-rw-r--r-- | sys/security/mac/mac_socket.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/security/mac/mac_socket.c b/sys/security/mac/mac_socket.c index fa4a970..e73ce12 100644 --- a/sys/security/mac/mac_socket.c +++ b/sys/security/mac/mac_socket.c @@ -301,15 +301,15 @@ MAC_CHECK_PROBE_DEFINE3(socket_check_bind, "struct ucred *", "struct socket *", "struct sockaddr *"); int -mac_socket_check_bind(struct ucred *ucred, struct socket *so, +mac_socket_check_bind(struct ucred *cred, struct socket *so, struct sockaddr *sa) { int error; SOCK_LOCK_ASSERT(so); - MAC_CHECK(socket_check_bind, ucred, so, so->so_label, sa); - MAC_CHECK_PROBE3(socket_check_bind, error, ucred, so, sa); + MAC_CHECK(socket_check_bind, cred, so, so->so_label, sa); + MAC_CHECK_PROBE3(socket_check_bind, error, cred, so, sa); return (error); } |