Skip to content

Commit 4e889a4

Browse files
Databeancjreynol
authored andcommitted
[skip ci] Move mouse.sock and rotary.sock to the unix domain socket directory
`PerInstanceInternalUdsPath` is there to provide a dedicated directory to satisfy the ~100 character limit on unix domain socket paths. Bug: b/388114249 Change-Id: I8bb77aa6416122d2ae984f7cb8d6966454c99ade Test: launch_cvd --resume=false && check $HOME/cuttlefish/instances/cvd-1/internal GitOrigin-RevId: bcc66bd
1 parent c3500f1 commit 4e889a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

staging/host/libs/config/cuttlefish_config_instance.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1874,11 +1874,11 @@ std::string CuttlefishConfig::InstanceSpecific::touch_socket_path(
18741874
}
18751875

18761876
std::string CuttlefishConfig::InstanceSpecific::mouse_socket_path() const {
1877-
return PerInstanceInternalPath("mouse.sock");
1877+
return PerInstanceInternalUdsPath("mouse.sock");
18781878
}
18791879

18801880
std::string CuttlefishConfig::InstanceSpecific::rotary_socket_path() const {
1881-
return PerInstanceInternalPath("rotary.sock");
1881+
return PerInstanceInternalUdsPath("rotary.sock");
18821882
}
18831883

18841884
std::string CuttlefishConfig::InstanceSpecific::keyboard_socket_path() const {

0 commit comments

Comments
 (0)