Date: Fri, 31 Jan 2020 11:35:08 -0500 From: Rich Felker <dalias@...c.org> To: musl@...ts.openwall.com Subject: Re: Static linking is broken after creation of DT_TEXTREL segment On Fri, Jan 31, 2020 at 03:47:48PM +0100, Markus Wichmann wrote: > > Assuming this is at startup, that's not a possibility; no application > > code has run yet. > > Unfortunately, signal mask and ignore dispositions are inherited across > execve(). A tool that ignores or blocks specific signals before execing > the rest of its command line is therefore possible. I seem to remember > such a tool, but cannot remember its name. A cursory search on the > Internet failed to turn up anything. For synchronously-generated SIGSEGV or SIGILL from faults, all that ignoring or blocking them does is ensure that a handler can't run and that they terminate the process (this is implementation-specific but a Linux contract and The Right Thing to do). Signal handlers of course cannot be inherited across exec; they revert to SIG_DFL. Rich
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.