Re: [PATCH 04/14] Ensure signal handler propagates fatal signals to default handler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 07/07/2011 08:17 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
> 
> When replacing the default SEGV/ABORT/BUS signal handlers you
> can't rely on the process being terminated after your custom
> handler runs. It is neccessary to manually restore the default

s/neccessary/necessary/

> handler and then re-raise the signal
> 
> * src/rpc/virnetserver.c: Restore default handler and raise
>   signal
> ---
>  src/rpc/virnetserver.c |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)

ACK.

There's a gnulib module for raise() which we are not using, but that
module says it is only needed for _really_ old platforms (even mingw
already has raise), so I don't think we need to worry about using it.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]