Messages in this thread | | | Date | Thu, 9 Oct 2014 16:33:46 +0800 | Subject | Re: [PATCH v4 18/29] nios2: Signal handling support | From | Ley Foon Tan <> |
| |
On Wed, Oct 8, 2014 at 7:29 PM, Richard Weinberger <richard.weinberger@gmail.com> wrote: > On Wed, Oct 8, 2014 at 11:29 AM, Ley Foon Tan <lftan@altera.com> wrote: >> This patch adds support for signal handling. >> >> Signed-off-by: Ley Foon Tan <lftan@altera.com> > > Maybe I'm misreading your code but where do you check for multiple > pending signals? > It looks like you're handling only exact one signal before retuning to > userspace. > This is a serious issue, if you post a SIGSEGV i.e. in > do_rt_sigreturn() you need to handle it later > instead of directly returning to userspace. Yes, Al also pointing out this. Will update this.
Regards Ley Foon
| |