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
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/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
@@ -
Thanks for the commited fix, it does work indeed.
Samuel