_v2-entry-point: Use a shorter rendezvous directory name
The AF_UNIX sockets that are used as rendezvous-point are limited to 108 bytes by the Linux kernel.
To prevent exceeding this limit, especially when we use the XDG_RUNTIME_DIR prefix, we use a shorter directory name that is still distinctive enough.
Related to steam-runtime-tools!264 (closed), but it's not a hard requirement.
Merge request reports
Activity
mentioned in merge request steam-runtime-tools!264 (closed)
Sorry, I'm not intending to land this or steam-runtime-tools!264 (closed) right now: we need a new beta before we land more stuff.
Is there a concrete issue that this solves? I thought Steam now sets
PRESSURE_VESSEL_SOCKET_DIR
for us, to a path in/tmp
that is certainly short enough?The route I'm more likely to take, as part of eventually absorbing the launcher/session functionality into the C code, is to make
PRESSURE_VESSEL_SOCKET_DIR
mandatory for "session mode", and stop trying to cope with it being attacker-controlled - effectively, it would become part of what we might call the "Steam compat protocol". That would mean we can usepressure-vessel-launcher --socket=...
and don't need random strings at all.Obsoleted by !53 (merged).