|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Ludovic Rousseau (ludovic.rousseau
gmail.com)
Date: Tue Sep 01 2009 - 04:38:28 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
2009/8/31 Douglas E. Engert <deengert
anl.gov>:
> pcscdeamon.c sets up a signal handler for SIGUSR1 to call signal_reload.
> But on Solaris (at least and it looks like HP too) the man pages say:
>
> If signal()is used, disp is the address of a signal handler, and sig
> is
> not SIGILL, SIGTRAP, or SIGPWR, the system first sets the
> signal's disposition to SIG_DFL before executing the signal
> handler.
>
> Thus the first use of pcscd -H works, but the second time causes the deamon
> to not cache the signal and end.
>
> This looks like this has been in previous versions as well.
> The patch has the signal handler reenable the signal.
Patch applied in revision 4375.
http://lists.alioth.debian.org/pipermail/pcsclite-cvs-commit/2009-September/003893.html
Thanks.
> Use of sigaction might be a better solution.
I am no sure how to use sigaction(2) for this problem. So unless you
find a problem with signal(2) I will not change the code.
Regards,
--
Dr. Ludovic Rousseau
_______________________________________________
Muscle mailing list
Muscle
lists.musclecard.com
http://lists.drizzle.com/mailman/listinfo/muscle
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]