Skip to content

gmain: Use alternate signal stack if the application provides one

Marco Trevisan requested to merge 3v1n0/glib:sa-onstack-unix-signals into main

Some applications, toolkits or languages may define an alternative stack to use for traces. This is for example the case of go.

So, in case an application defines an alternate signal stack, GLib should use that instead of the default one to receive signals otherwise it may break the application expectations and write where it's not allowed to.

Edited by Marco Trevisan

Merge request reports