Date: Sat, 18 Feb 2017 07:21:50 +0000 (UTC) From: Dmitry Chagin <dchagin@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r313912 - head/sys/compat/linux Message-ID: <201702180721.v1I7LoCa064299@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702180721.v1I7LoCa064299>