Re: Executing shell code on the signal stack, or why is this is a bad idea

2013-06-07 Thread Chet Ramey
On 6/6/13 5:29 AM, Lionel Cons 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. As I said in a previous message, I have done considerable work between bash-4.2 and bash-4.3 to mov

Re: Executing shell code on the signal stack, or why is this is a bad idea

2013-06-06 Thread Chet Ramey
On 6/6/13 5:31 AM, Lionel Cons wrote: > On 6 June 2013 11:29, Lionel Cons 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, u

Re: Executing shell code on the signal stack, or why is this is a bad idea

2013-06-06 Thread Lionel Cons
On 6 June 2013 11:29, Lionel Cons 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