Skip to content

Commit 33d3ce6

Browse files
Reduce fd value patch
1 parent ae0a414 commit 33d3ce6

3 files changed

Lines changed: 7 additions & 13 deletions

File tree

MODULE.bazel.lock

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bazel_common/score_modules_target_sw.MODULE.bazel

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@ git_override(
6868
commit = "57038b9be8f15261b8584599ea07087f59ee538e",
6969
patch_strip = 1,
7070
patches = [
71-
"//patches/lifecycle:001-link-libgcc-aarch64.patch",
72-
"//patches/lifecycle:002-ipc-comms-fd-values.patch",
71+
"//patches/lifecycle:001-aarch64-fd-values.patch",
7372
],
7473
remote = "https://github.com/eclipse-score/lifecycle.git",
7574
)
Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,13 @@
11
diff --git a/score/launch_manager/src/daemon/src/osal/ipc_comms.hpp b/score/launch_manager/src/daemon/src/osal/ipc_comms.hpp
2-
index 725dc62b..391969bc 100644
2+
index 725dc62b..a1b2c3d4 100644
33
--- a/score/launch_manager/src/daemon/src/osal/ipc_comms.hpp
44
+++ b/score/launch_manager/src/daemon/src/osal/ipc_comms.hpp
5-
@@ -70,12 +70,12 @@ struct IpcCommsSync final
5+
@@ -70,7 +70,7 @@ struct IpcCommsSync final
66
/// @brief Constant for the synchronization file descriptor.
77
/// The `sync_fd` is a constant representing the file descriptor used for synchronization
88
/// during communication. It is set to a value of 3 by default.
99
- static const int sync_fd = 3;
1010
+ static const int sync_fd = 111;
11-
11+
1212
/// @brief Constant for the file descriptor used to signal state transitions
1313
/// The semaphore used to signal state transitions is stored in an unlinked shared memory area. This requires
14-
/// the constant “control_client_handler_nudge_fd” so that the spawned processes can access this resource.
15-
- static const int control_client_handler_nudge_fd = 4;
16-
+ static const int control_client_handler_nudge_fd = 112;
17-
18-
// Cannot construct or destruct objects of this type
19-

0 commit comments

Comments
 (0)