We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2ef1ecf + 71542db commit 8f5c71eCopy full SHA for 8f5c71e
src/miral/launch_app.cpp
@@ -151,11 +151,11 @@ auto miral::launch_app_env(
151
152
if (pid == 0)
153
{
154
- mir::log_debug("Restoring sigmask");
155
sigset_t all_signals;
156
sigfillset(&all_signals);
157
pthread_sigmask(SIG_UNBLOCK, &all_signals, nullptr);
158
+ // execvpe() isn't listed as being async-signal-safe, but the implementation looks fine and rewriting seems unnecessary
159
execvpe(exec_args[0], const_cast<char*const*>(exec_args.data()), const_cast<char*const*>(exec_env.data()));
160
161
mir::log_warning("Failed to execute client (\"%s\") error: %s", exec_args[0], strerror(errno));
0 commit comments