Security question?

Roland Mainz roland.mainz at nrubsig.org
Thu Nov 4 13:29:46 PST 2004


Adam Jackson wrote:
> On Wednesday 03 November 2004 19:27, Roland Mainz wrote:
> > Adam Jackson wrote:
> > > getsockname(3) on the connection fd.  It's local if one of:
> > >
> > > - family is PF_UNIX
> > > - family is PF_INET and address is 127.0.0.1
> > > - family is PF_INET6 and address is ::1
> > > - family is PF_DECnet and address is whatever the DECnet loopback address
> > > is (probably you don't need to worry about this case)
> >
> > BTW: Solaris has a shared-memory transport (AFAIK HP-UX, too) ... but I
> > am not sure whether this is indicated via a seperate socket family or
> > just handled internally by Xlib.
> 
> SGI and DEC too.  And internal to Xlib, AFAIK, still using the PF_UNIX socket
> for synchronization.
> 
> Precision Insight did some research into adding this to XFree86 in the early
> 4.0 days, but it was decided that it wasn't worth the added complexity since
> shared memory transport only really helps when the graphics subsystem is much
> more powerful than the CPU.

It also helps in many other cases like large image transfers, large GL
data transfers or when you need lower latency between client and
servers. In all those cases you even get _huge_ performance boosts on
machines like a Sun Ultra 5/333MHz with a dumb m64 framebuffer (and
doing the same on a high-end XVR-1000 card gives even a higher perf
boost then).

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) roland.mainz at nrubsig.org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 7950090
 (;O/ \/ \O;)



More information about the xorg mailing list