-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
💥 Fix crash on m3 chips by changing the arguments to the socket param…
…eter This fixes #99 Testing done: - started EVerest - before this fix: crashed on startup - after this fix: did not crash on startup Signed-off-by: Shankari <[email protected]>
- Loading branch information
Shankari
committed
Jan 15, 2025
1 parent
cf31537
commit 648948c
Showing
2 changed files
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- /ext/cache/cpm/everest-framework/d01be681d203f70289900147e87a8f4c43ff47f0/everest-framework/src/system_unix.cpp | ||
+++ /ext/cache/cpm/everest-framework/d01be681d203f70289900147e87a8f4c43ff47f0/everest-framework/src/system_unix.cpp | ||
@@ -190,7 +190,7 @@ std::string set_user_and_capabilities(const std::string& run_as_user, const std: | ||
SubProcess SubProcess::create(const std::string& run_as_user, const std::vector<std::string>& capabilities) { | ||
int pipefd[2]; | ||
|
||
- if (pipe2(pipefd, O_CLOEXEC | O_DIRECT)) { | ||
+ if (pipe2(pipefd, O_CLOEXEC)) { | ||
throw std::runtime_error(fmt::format("Syscall pipe2() failed ({}), exiting", strerror(errno))); | ||
} |