1
0
mirror of https://github.com/opencryptoki/opencryptoki.git synced 2026-10-24 05:39:17 +03:00
Files
opencryptoki/man
Ingo Franzki 97ec424766 STATISTICS/PKCSSTATS: Do not overflow statistics counters, saturate at max
When statistic counters would overflow, keep them at the maximum possible
value. Wrapping to zero is the worst possible outcome for an auditing tool,
it silently under-reports activity.

If a counter saturated, then the pkcsstatd display indicates this with
"[saturated]" instead of the counter value.

While at it also make the reset operation to operate in an per counter
atomic way. Otherwise counter increments might get lost while a reset is
performed.

Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com>
2026-08-19 08:27:43 +02:00
..
2018-11-06 17:22:29 +01:00