Messages in this thread | | | Date | Wed, 8 Oct 2014 13:29:33 +0200 | Subject | Re: [PATCH v4 18/29] nios2: Signal handling support | From | Richard Weinberger <> |
| |
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.
-- Thanks, //richard
| |