From owner-svn-src-all@freebsd.org Sat Feb 18 07:21:51 2017 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7E90DCE242B; Sat, 18 Feb 2017 07:21:51 +0000 (UTC) (envelope-from dchagin@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4B6312E0; Sat, 18 Feb 2017 07:21:51 +0000 (UTC) (envelope-from dchagin@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v1I7Lo2r064301; Sat, 18 Feb 2017 07:21:50 GMT (envelope-from dchagin@FreeBSD.org) Received: (from dchagin@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v1I7LoCa064299; Sat, 18 Feb 2017 07:21:50 GMT (envelope-from dchagin@FreeBSD.org) Message-Id: <201702180721.v1I7LoCa064299@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dchagin set sender to dchagin@FreeBSD.org using -f From: Dmitry Chagin Date: Sat, 18 Feb 2017 07:21:50 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r313912 - head/sys/compat/linux X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 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: Sat, 18 Feb 2017 07:21:51 -0000 Author: dchagin Date: Sat Feb 18 07:21:50 2017 New Revision: 313912 URL: https://svnweb.freebsd.org/changeset/base/313912 Log: Finich r313684. Convert linux_recv(), linux_send() and linux_accept() system call arguments to the register_t type too. PR: 217161 MFC after: 3 days xMFC with: r313284,r313285,r313684 Modified: head/sys/compat/linux/linux_socket.c head/sys/compat/linux/linux_socket.h Modified: head/sys/compat/linux/linux_socket.c ============================================================================== --- head/sys/compat/linux/linux_socket.c Sat Feb 18 06:18:14 2017 (r313911) +++ head/sys/compat/linux/linux_socket.c Sat Feb 18 07:21:50 2017 (r313912) @@ -959,10 +959,10 @@ linux_socketpair(struct thread *td, stru #if defined(__i386__) || (defined(__amd64__) && defined(COMPAT_LINUX32)) struct linux_send_args { - int s; - l_uintptr_t msg; - int len; - int flags; + register_t s; + register_t msg; + register_t len; + register_t flags; }; static int @@ -987,10 +987,10 @@ linux_send(struct thread *td, struct lin } struct linux_recv_args { - int s; - l_uintptr_t msg; - int len; - int flags; + register_t s; + register_t msg; + register_t len; + register_t flags; }; static int Modified: head/sys/compat/linux/linux_socket.h ============================================================================== --- head/sys/compat/linux/linux_socket.h Sat Feb 18 06:18:14 2017 (r313911) +++ head/sys/compat/linux/linux_socket.h Sat Feb 18 07:21:50 2017 (r313912) @@ -143,9 +143,9 @@ struct l_ucred { #if defined(__i386__) || (defined(__amd64__) && defined(COMPAT_LINUX32)) struct linux_accept_args { - int s; - l_uintptr_t addr; - l_uintptr_t namelen; + register_t s; + register_t addr; + register_t namelen; }; int linux_accept(struct thread *td, struct linux_accept_args *args);