[PATCH] recvmsg() sendmsg() linux emulation

Chagin Dmitry dchagin at freebsd.org
Thu Sep 18 15:08:07 UTC 2008


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?

> 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

thnx!
-- 
Have fun!
chd


More information about the freebsd-net mailing list