[PATCH] recvmsg() sendmsg() linux emulation

Chagin Dmitry dchagin at freebsd.org
Thu Sep 18 15:56:34 UTC 2008


On Thu, Sep 18, 2008 at 06:31:11PM +0300, Kostik Belousov wrote:
> On Thu, Sep 18, 2008 at 07:07:59PM +0400, Chagin Dmitry wrote:
> 
> I still cannot answer to you, so be it.
> 
> > On Thu, Sep 18, 2008 at 05:24:54PM +0300, Kostik Belousov wrote:
> > > On Thu, Sep 18, 2008 at 05:57:36PM +0400, Chagin Dmitry wrote:
> > > > diff --git a/src/sys/amd64/linux32/linux32_io.h b/src/sys/amd64/linux32/linux32_io.h
> > > > new file mode 100644
> > > > index 0000000..c1a9f1c
> > > > --- /dev/null
> > > > +++ b/src/sys/amd64/linux32/linux32_io.h
> > > > @@ -0,0 +1,47 @@
> > > > +/*-
> > > > + * Copyright (c) 2004 Tim J. Robbins
> > > > + * Copyright (c) 2001 Doug Rabson
> > > > + * Copyright (c) 1994-1996 SЬren Schmidt
> > > > + * All rights reserved.
> > > ^^^^^^^^^^ Is this true ?
> > > 
> > 
> > I have copied it from linux.h, can I remove it?
> 
> No, you should specify yourself as the copyright holder.
> 

ok

> > 
> > > Coloring this further, do we need a new include file for one structure
> > > and one function ?
> > > 
> > 
> > You suggest to transfer it to linux.h?
> > I can do it, but then it is necessary to insert #include <sys/uio.h>
> > into all files which include linux.h
> 
> This may be a trouble. Is there any other compat/linux include that
> requires uio ?

yes, linux_util.h include uio now, but iovec32 stuff specific only
for ia32 at amd64 emulation.

-- 
Have fun!
chd


More information about the freebsd-emulation mailing list