bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: connect() access bytes after socket address


From: Samuel Thibault
Subject: Re: connect() access bytes after socket address
Date: Fri, 1 Mar 2013 19:17:56 +0100
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Roland McGrath, le Fri 01 Mar 2013 09:57:11 -0800, a écrit :
> > I didn't bother, but I can indeed, probably to
> > glibc/include/sys/socket.h, or some other file?
> 
> It's only needed for Hurd, so but it in some non-installed Hurd-only header.

So for instance:

#define _hurd_sun_path_dupa(__addr, len) \
  strndupa ((__addr)->sun_path, (__len) - offsetof (struct sockaddr_un, 
sun_path))

in a new hurd/hurdsocket.h?

Samuel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]