pflocal getsockname not working with payload

2015-08-13 Thread Samuel Thibault
Hello, X11 authentication is currently broken, because pflocal's implementation of getsockname is broken. It seems to happen since the enabling of payload optimization. I have attached a simple testcase: in glibc getsockname() calls socket_name() which returns a port, and then calls socket_whati

Re: pflocal getsockname not working with payload

2015-08-13 Thread Samuel Thibault
Samuel Thibault, le Fri 14 Aug 2015 00:03:33 +0200, a écrit : > I have attached a simple testcase I've forgotten to provide details: the getsockname() call is supposed to work, and the sa_family is supposed to be 1 (PF_LOCAL). Samuel

[committed hurd] pflocal: fix receiver lookup

2015-08-13 Thread Justus Winter
* pflocal/mig-decls.h (begin_using_addr_payload): Use `ports_lookup_payload'. --- pflocal/mig-decls.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pflocal/mig-decls.h b/pflocal/mig-decls.h index b1da797..6c044ce 100644 --- a/pflocal/mig-decls.h +++ b/pflocal/mig-decls.h @@ -

Re: pflocal getsockname not working with payload

2015-08-13 Thread Samuel Thibault
Thanks for the commited fix, it does work indeed. Samuel