[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Executing shell code on the signal stack, or why is this is a bad id
Re: Executing shell code on the signal stack, or why is this is a bad idea
Thu, 6 Jun 2013 11:31:20 +0200
On 6 June 2013 11:29, Lionel Cons <address@hidden> wrote:
> Forwarding an interesting posting from Roland Mainz who did an
> investigation why signal trap processing in ksh93, bash and dash is
> currently not reliable.
PS: malloc() from AT&T libast, used by ksh93, is async signal safe.
Unless bash's sh_malloc() has a similar functionality you'll need a
different solution, such as using signalfd()