-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Our fork
/exec
spawning is unsafe
#3494
Comments
That probably doesn't matter: we should use |
Oops! When reviewing #3497 I also see that |
True. There's still... Lines 110 to 116 in ecc4899
We also need to deal with the |
Enhancements: . Allow to specify an app id for when running on the wayland platform #3614 Bugs fixed: . SIGSEGV on input device disconnection #3601 . Frame fails to enforce fullscreen on wpe-webkit-mir-kiosk #3600 . Chromium unmaximises when focus is lost #3592 . Apps constantly resizing #3573 . Our fork/exec spawning is unsafe #3494 . Revert "Fix random leak" #3609 . Smoke tests are failing #3610
Enhancements: . Allow to specify an app id for when running on the wayland platform #3614 Bugs fixed: . SIGSEGV on input device disconnection #3601 . Frame fails to enforce fullscreen on wpe-webkit-mir-kiosk #3600 . Chromium unmaximises when focus is lost #3592 . Apps constantly resizing #3573 . Our fork/exec spawning is unsafe #3494 . Revert "Fix random leak" #3609 . Smoke tests are failing #3610
exec_wayland()
is called afterfork()
:mir/src/server/frontend_xwayland/xwayland_server.cpp
Lines 53 to 98 in 953de04
Unfortunately,
man 2 fork
says:We should instead do as much setup as possible in the parent, and then call
fork()
. (Amusingly, evenexecvp
is not async-signal-safe 🤦♀️ )The text was updated successfully, but these errors were encountered: