Re: pflocal getsockname not working with payload

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

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

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