lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 9 Nov 2009 08:47:07 +0100
From:	Ingo Molnar <>
To:	Naohiro Ooiwa <>
Cc:	Andrew Morton <>,
	Hiroshi Shimamoto <>,
	Roland McGrath <>,
	Peter Zijlstra <>,
	Thomas Gleixner <>,
	LKML <>,
Subject: Re: [PATCH] extend print_fatal_signals for reached RLIMIT_SIGPENDING

* Naohiro Ooiwa <> wrote:

> When the system has too many timers or too many aggregate
> queued signals, the EAGAIN error is returned to application
> from kernel, including timer_create().
> It means that exceeded limit of pending signals at all.
> But we can't imagine it.
> This patch show the message when reached limit of pending signals
> and enabled print_fatal_signals.
> If you see this message and your system behaved unexpectedly,
> you can run following command.
>    # ulimit -i unlimited
> With help from Hiroshi Shimamoto <>.
> Signed-off-by: Naohiro Ooiwa <>
> Acked-by: Ingo Molnar <>
> ---
>  Documentation/kernel-parameters.txt |   11 +++++++++--
>  kernel/signal.c                     |   21 ++++++++++++++++++---
>  2 files changed, 27 insertions(+), 5 deletions(-)

Thanks, i've applied your patch to tip:core/signal, for v2.6.33 merge 
(if it passes all tests).

I made a few (very small) changes, see the -tip commit notification 
email in this thread with the final commit:

 - Extended the functions so that we can print which precise signal got 
   dropped - app writers will likely want to know that

 - Changed the message to:

        task/1234: reached RLIMIT_SIGPENDING, dropping signal

   which is slightly more informative.

 - Cleaned up small cleanliness details in surrounding code that caught 
   my eyes.

 - Changed a few variable and function names to be a tiny bit more 

 - Pushed the print_fatal_printks check into the new utility function 
   (print_dropped_signal()), to not clutter __sigqueue_alloc() 

 - Clarified the commit log message a bit, gave sample output of the new 


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

Powered by blists - more mailing lists