<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2017-10-24 10:28 GMT+02:00 František Řezáč <span dir="ltr"><<a href="mailto:frantisek.rezac@calavera.info" target="_blank">frantisek.rezac@calavera.info</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I was surprised by your solution based on proc/maps, I expected something more specific to the pcsc stack, but I gave it a try and I think I have found what I'm looking for. But it wasn't straightforward so I'm sending some notes back.<div><br></div><div>Most importantly I was surprised how many processes are running with pcsc lib all the time. For example I definitely wasn't expecting wpasupplicant. </div></div></blockquote><div><br></div><div>wpasupplicant has support of EAP-SIM authentication scheme. To read the SIM card it needs to use PC/SC.<br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Those processes however were not accessing smart card at all so I had to conduct a better analysis looking at those processes found by your tool for a longer time and I found a behavior pattern which pointed to the final offender (gdm-session-worker). So although it wasn't as simple as I would like, your tool helped a lot, thanks.</div></div></blockquote><div><br></div>libpcsclite can be loaded by a chain of library. My tool [1] will only give you the name of the process.</div><div class="gmail_quote">I don't think it it possible to tell which library loaded libpcsclite.so.1 just at looking at the /proc/*/maps files.<br></div></div><div class="gmail_extra"><br></div><div class="gmail_extra">I am happy my (simple) tool helped you.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Bye</div><br>[1] <a href="https://github.com/LudovicRousseau/contrib/blob/master/list_pcsc_applications.sh">https://github.com/LudovicRousseau/contrib/blob/master/list_pcsc_applications.sh</a><br><br>-- <br><div class="gmail_extra"><div class="gmail_signature"> Dr. Ludovic Rousseau</div>
</div></div>