OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: [Muscle] pcsc-lite 1.5.5 problem

From: Ludovic Rousseau (ludovic.rousseaugmail.com)
Date: Wed Jan 06 2010 - 06:25:38 CST


2010/1/6 Murat Baran <baran.muratgmail.com>:
> hello,

Hello,

> we are using pcsc-lite in a linux embedded system
> with uclibc and linuxthreads for posix. As we moved from
> pcsc-lite1.4.4 to 1.5.5 we got problems:
> We can not use more than one thread in using pcsc.
> I saw that new pcsc checks the client PID and in
> linuxthreads every thread has a different PID like a
> process. Is this a bug or we have to change something
> to use new pcsc-lite?

You can just remove the PID test in winscard_clnt.c. This is used to
detect forked process and invalidate the handles.

I got request from a user of uclinux (and not uclibc) and shared
memory was not supported in his configuration. Do you use a standard
Linux kernel with MMU provided by the CPU? what CPU are you using?
Do you have to make changes to pcsc-lite to make it work for you?

Bye

--
 Dr. Ludovic Rousseau
_______________________________________________
Muscle mailing list
Musclelists.musclecard.com
http://lists.drizzle.com/mailman/listinfo/muscle