Re: Executing shell code on the signal stack, or why is this is a bad id
From:
Lionel Cons
Subject:
Re: Executing shell code on the signal stack, or why is this is a bad idea
Date:
Thu, 6 Jun 2013 11:31:20 +0200
On 6 June 2013 11:29, Lionel Cons <lionelcons1972@googlemail.com> 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.
>
> Lionel
>
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()
Lionel