Date: Tue, 29 Jul 1997 11:50:40 +0930 (CST) From: Michael Smith <msmith@atrad.adelaide.edu.au> To: vinay@agni.nuko.com (Vinay Bannai) Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Location of copyin() and copyout().. Message-ID: <199707290220.LAA09491@genesis.atrad.adelaide.edu.au> In-Reply-To: <199707282150.OAA01303@agni.nuko.com> from Vinay Bannai at "Jul 28, 97 02:50:17 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
Vinay Bannai stands accused of saying: > > I was wondering if it is considered a good idea to move data back and > forth between the user and kernel space using copyin() and copyout() > without calling uiomove(). I can't seem to find the location of these > functions/macros. Can someone point me where they are defined?? It is generally considered _extremely_ bad to use copyin/copyout, as it precludes your functions from being called from within kernel space. FWIW, this is what eventually stumped me when it came to getting Linux WABI running on FreeBSD. > Vinay Bannai E-mail: vinay@agni.nuko.com -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707290220.LAA09491>