xorg-xserver/Xext/shm.c - missing swapped case?

Alan Coopersmith alan.coopersmith at oracle.com
Mon May 6 16:28:45 UTC 2019


On 5/6/19 9:20 AM, Ulrich Sibiller wrote:
> Since that code is really old (the PANORAMIX stuff came in with
> XFree86 4.3.0.1 in November 2003) I am wondering if this really a bug
> or if am missing something crucial here?

I don't think X has ever truly supported a platform on which clients
of different endianess can share memory - shared memory is typically
local only, while endian swapping is typically remote only.

(While one can imagine a system in which it was possible for different
  processes to have their own endian settings, it's harder to come up
  with a reason that would be useful enough to outweigh the costs of
  implementing it, and having to have endianess handling code in every
  system interface.)

-- 
	-Alan Coopersmith-               alan.coopersmith at oracle.com
	 Oracle Solaris Engineering - https://blogs.oracle.com/alanc


More information about the xorg-devel mailing list