[Rpm-maint] RFC: Unblocking of signals within rpm

Michael Schroeder mls at suse.de
Thu Jul 19 10:45:26 UTC 2007


On Thu, Jul 19, 2007 at 01:30:07PM +0300, Panu Matilainen wrote:
> Yes, but then this is a terminating signal handler, and AFAICT does just 
> what's described in glibc manual as the cleanest way to handle this:
> http://www.gnu.org/software/libc/manual/html_node/Termination-in-Handler.html

In this example all the clean up actions are async-signal-safe.
I bet closing a Berkeley database is not...

Cheers,
  Michael.

-- 
Michael Schroeder                                   mls at suse.de
SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}



More information about the Rpm-maint mailing list