From a14ff781ebf231daa99990fd65c2312f26db93a8 Mon Sep 17 00:00:00 2001
From: Stef Walter <stefw@gnome.org>
Date: Tue, 19 Feb 2013 13:51:32 +0100
Subject: Manage C_CloseAllSessions function for multiple callers

Make C_CloseAllSessions work for different callers. Track the sessions
that each caller opens and close just those when C_CloseAllSessiosn is
called.
---
 doc/manual/p11-kit-sharing.xml | 6 ++++++
 1 file changed, 6 insertions(+)

(limited to 'doc')

diff --git a/doc/manual/p11-kit-sharing.xml b/doc/manual/p11-kit-sharing.xml
index 01b3c8b..0989923 100644
--- a/doc/manual/p11-kit-sharing.xml
+++ b/doc/manual/p11-kit-sharing.xml
@@ -88,6 +88,12 @@
 			function concurrently from different threads and <literal>p11-kit</literal>
 			will guarantee that this managed in a thread-safe manner.</para>
 		</listitem>
+		<listitem>
+			<para>Call to <literal>C_CloseAllSessions</literal> only close the
+			sessions that the caller of the managed module has opened. This allows the
+			<literal>C_CloseAllSessions</literal> function to be used without closing
+			sessions for other callers of the same PKCS#11 module.</para>
+		</listitem>
 		</itemizedlist>
 	</section>
 </chapter>
-- 
cgit v1.1