Mark Kettenis <[email protected]> writes: >> From: Keith Packard <[email protected]> >> Date: Tue, 5 Nov 2013 16:41:23 -0800 >> >> This uses sendmsg to transmit file descriptors from the application to >> the X server > > Same issue as with the libxtrans code; you're not using the CMSG_ API > correctly.
Someone who can figure that out needs to fix it then; I cannot code to a spec without being able to verify that it works. I did try to make it work when first implementing this stuff, but I never managed. What I could do is make this all Linux-only until someone figures out how to use the CMSG_API in the way that works for more systems. > Also perhaps instead of checking HAVE_SENDMSG you should simply check > SCM_RIGHTS. All platforms that support the latter should have > sendmsg(2) while I'm not completely this is true the other way around. That'd be easy, but I'd like to know why this test would be better? -- [email protected]
pgprqq6mnmsKz.pgp
Description: PGP signature
_______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
