From owner-svn-src-all@FreeBSD.ORG Sun Mar 8 12:22:01 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 28F21106566B; Sun, 8 Mar 2009 12:22:01 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 16EA78FC1B; Sun, 8 Mar 2009 12:22:01 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n28CM0QY083205; Sun, 8 Mar 2009 12:22:00 GMT (envelope-from rwatson@svn.freebsd.org) Received: (from rwatson@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n28CM0IX083204; Sun, 8 Mar 2009 12:22:00 GMT (envelope-from rwatson@svn.freebsd.org) Message-Id: <200903081222.n28CM0IX083204@svn.freebsd.org> From: Robert Watson Date: Sun, 8 Mar 2009 12:22:00 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r189532 - head/sys/security/mac X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Mar 2009 12:22:01 -0000 Author: rwatson Date: Sun Mar 8 12:22:00 2009 New Revision: 189532 URL: http://svn.freebsd.org/changeset/base/189532 Log: 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. Modified: head/sys/security/mac/mac_socket.c Modified: head/sys/security/mac/mac_socket.c ============================================================================== --- head/sys/security/mac/mac_socket.c Sun Mar 8 11:20:54 2009 (r189531) +++ head/sys/security/mac/mac_socket.c Sun Mar 8 12:22:00 2009 (r189532) @@ -301,15 +301,15 @@ MAC_CHECK_PROBE_DEFINE3(socket_check_bin "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); }