Bug 5530 - xtrans should support the abstract socket namespace in linux
Summary: xtrans should support the abstract socket namespace in linux
Status: RESOLVED DUPLICATE of bug 6297
Alias: None
Product: xorg
Classification: Unclassified
Component: * Other (show other bugs)
Version: git
Hardware: PowerPC Mac OS X (All)
: high normal
Assignee: Xorg Project Team
QA Contact:
Depends on:
Reported: 2006-01-07 05:42 UTC by Adam Jackson
Modified: 2007-01-23 20:00 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Description Adam Jackson 2006-01-07 05:42:56 UTC
In linux, if the first byte of sun_path in struct sockaddr_un is \0, the socket
exists in an abstract namespace not connected to the filesystem, and the name of
the socket is given by the other UNIX_PATH_MAX-1 bytes in sun_path.

xtrans has issues with creating sockets in /tmp, including some well known
security problems (bug #951 for example).  Some projects are working towards a
per-user /tmp, but the server sockets have to be globally accessible.  Creating
them in the abstract namespace would keep them both globally visible and out of
the filesystem.

Abstract sockets otherwise behave like normal PF_UNIX sockets so no security
problems are introduced by this.  For compatibility xtrans should try both
filesystem and abstract sockets.
Comment 1 Adam Jackson 2006-03-21 07:07:41 UTC

*** This bug has been marked as a duplicate of 6297 ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.