mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-10-24 05:09:47 +00:00
204d9f8bb4
By opening the directory containing a socket we can use /proc/self/fd/%d/ to get a shorter path to that socket that can fit in the 108 character limit when the original did not. This allows us to increase the maximum size of VM names from 21 to 63 characters. BUG=chromium:1144639 TEST=vmc start {61 character name} - rejected TEST=vmc start {60 character name} - works Cq-Depend: 2517276 Disallow-Recycled-Builds: test-failures Change-Id: Id5aba6372e3ef7840406ddf6e7553a459824c9fc Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2519335 Tested-by: Fergus Dall <sidereal@google.com> Commit-Queue: Fergus Dall <sidereal@google.com> Reviewed-by: Nicholas Verne <nverne@chromium.org> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |