From owner-svn-src-all@FreeBSD.ORG Fri Mar 19 10:49:03 2010 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 B6BF5106566C; Fri, 19 Mar 2010 10:49:03 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id A5A3D8FC27; Fri, 19 Mar 2010 10:49:03 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o2JAn3GR024770; Fri, 19 Mar 2010 10:49:03 GMT (envelope-from kib@svn.freebsd.org) Received: (from kib@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o2JAn3JC024767; Fri, 19 Mar 2010 10:49:03 GMT (envelope-from kib@svn.freebsd.org) Message-Id: <201003191049.o2JAn3JC024767@svn.freebsd.org> From: Konstantin Belousov Date: Fri, 19 Mar 2010 10:49:03 +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: r205319 - head/sys/compat/freebsd32 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: Fri, 19 Mar 2010 10:49:03 -0000 Author: kib Date: Fri Mar 19 10:49:03 2010 New Revision: 205319 URL: http://svn.freebsd.org/changeset/base/205319 Log: Make freebsd32_copyiniov() available outside of freebsd32_misc. MFC after: 2 weeks Modified: head/sys/compat/freebsd32/freebsd32_misc.c head/sys/compat/freebsd32/freebsd32_util.h Modified: head/sys/compat/freebsd32/freebsd32_misc.c ============================================================================== --- head/sys/compat/freebsd32/freebsd32_misc.c Fri Mar 19 10:46:54 2010 (r205318) +++ head/sys/compat/freebsd32/freebsd32_misc.c Fri Mar 19 10:49:03 2010 (r205319) @@ -873,7 +873,7 @@ freebsd32_pwritev(struct thread *td, str return (error); } -static int +int freebsd32_copyiniov(struct iovec32 *iovp32, u_int iovcnt, struct iovec **iovp, int error) { Modified: head/sys/compat/freebsd32/freebsd32_util.h ============================================================================== --- head/sys/compat/freebsd32/freebsd32_util.h Fri Mar 19 10:46:54 2010 (r205318) +++ head/sys/compat/freebsd32/freebsd32_util.h Fri Mar 19 10:49:03 2010 (r205319) @@ -84,5 +84,8 @@ int syscall32_deregister(int *offset, int syscall32_module_handler(struct module *mod, int what, void *arg); register_t *freebsd32_copyout_strings(struct image_params *imgp); +struct iovec32; +int freebsd32_copyiniov(struct iovec32 *iovp, u_int iovcnt, + struct iovec **iov, int error); #endif /* !_COMPAT_FREEBSD32_FREEBSD32_UTIL_H_ */