1
0
mirror of https://github.com/opencryptoki/opencryptoki.git synced 2026-10-25 17:39:16 +03:00
Files
opencryptoki/usr/include
Ingo Franzki e8850bc138 COMMON: Add support for a global token specific counter in pkcsslotd's shm
Similar to the global session and R/W session counters in pkcsslotds shared
memory segment, add another counter field that a token can use for counting
token specific things.

The pkcsslotd also tracks this counter, and ensures that if a process dies
without decreasing its counter properly, then pkcsslotd adjusts the global
counter automatically during garbage collection to maintain a consistent
counter value across all processes.

Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com>
2024-02-01 08:37:27 +01:00
..
2020-01-27 14:39:42 +01:00