1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-11-11 21:48:50 +01:00
gnupg/scd
NIIBE Yutaka 47106ac435 scd: Serialize opening device by select_application.
* scd/app.c (app_new_register): Don't lock APP_LIST_LOCK here.
(select_application): Lock with APP_LIST_LOCK earlier.

--

What we want to do here is to serialize the call of
select_application.  In the old code, it was possible
that a call of select_application was blocked internally,
and then another call of select_application entered.

We can have a dedicated lock for call of select_application,
but it is easier to re-use APP_LIST_LOCK.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
2018-11-28 14:59:44 +09:00
..
apdu.c all: fix spelling and typos 2018-10-24 15:56:18 -04:00
apdu.h scd: Support "acknowledge button" feature. 2018-10-11 15:41:49 +09:00
app-common.h scd: Fix RESET command handling (more). 2017-02-17 11:50:40 +09:00
app-dinsig.c all: fix spelling and typos 2018-10-24 15:56:18 -04:00
app-geldkarte.c all: fix spelling and typos 2018-10-24 15:56:18 -04:00
app-help.c Remove -I option to common. 2017-03-07 20:25:54 +09:00
app-nks.c Remove -I option to common. 2017-03-07 20:25:54 +09:00
app-openpgp.c scd: Make "learn" report about KDF data object. 2018-11-15 13:56:27 +09:00
app-p15.c Use the gpgrt log functions if possible. 2017-11-27 15:00:25 +01:00
app-sc-hsm.c Remove -I option to common. 2017-03-07 20:25:54 +09:00
app.c scd: Serialize opening device by select_application. 2018-11-28 14:59:44 +09:00
atr.c Spelling fixes in docs and comments. 2017-04-28 10:06:33 +09:00
atr.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
ccid-driver.c all: fix spelling and typos 2018-10-24 15:56:18 -04:00
ccid-driver.h scd: Support "acknowledge button" feature. 2018-10-11 15:41:49 +09:00
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
command.c scd: Support "acknowledge button" feature. 2018-10-11 15:41:49 +09:00
iso7816.c all: fix spelling and typos 2018-10-24 15:56:18 -04:00
iso7816.h scd: Fix API of select_file/_path. 2017-03-06 13:39:46 +09:00
Makefile.am Remove -I option to common. 2017-03-07 20:25:54 +09:00
scdaemon-w32info.rc w32: Add icons and version information. 2013-05-07 21:35:48 +02:00
scdaemon.c all: fix spelling and typos 2018-10-24 15:56:18 -04:00
scdaemon.h scd: Support "acknowledge button" feature. 2018-10-11 15:41:49 +09:00