|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Douglas E. Engert (deengert
anl.gov)
Date: Mon Aug 31 2009 - 16:55:14 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
Use of sigaction might be a better solution.
Ludovic Rousseau wrote:
> Hello,
>
> A new version of pcsc-lite 1.5.5 is available at [1].
> This version fixes bugs. No new feature added.
>
> Changelog:
> pcsc-lite-1.5.5: Ludovic Rousseau
> 28 July 2009
> - add the reader interface name if provided by the device
> - SCardTransmit(): return SCARD_E_UNSUPPORTED_FEATURE if
> SCARD_PROTOCOL_RAW is requested by unsupported
> - SCardConnect() and SCardReconnect(): set dwActiveProtocol to
> SCARD_PROTOCOL_UNDEFINED if SCARD_SHARE_DIRECT is used (conform to
> MSDN). Contrary to Windows winscard behavior, the reader is accessed in
> shared mode and not exclusive mode if SCARD_SHARE_DIRECT is used.
> - SCardControl(): correctly check for buffer overflow (bug introduced in
> pcsc-lite 1.5.4)
> - some other minor improvements and bug corrections
>
> [1] https://alioth.debian.org/frs/?group_id=30105&release_id=1378
>
--
Douglas E. Engert <DEEngert
anl.gov>
Argonne National Laboratory
9700 South Cass Avenue
Argonne, Illinois 60439
(630) 252-5444
_______________________________________________
Muscle mailing list
Muscle
lists.musclecard.com
http://lists.drizzle.com/mailman/listinfo/muscle
- text/x-diff attachment: pcscdaemon.patch
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]