Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | pkcs11: Call C_Finalize() to cancel jobs waiting in C_WaitForSlotEvent() | Tobias Brunner | 2017-11-02 | 1 | -9/+14 |
| | | | | | | | | | | | | | | | | This is not ideal as the call to C_Finalize() should be the last one via the PKCS#11 API. Since the order in which jobs are canceled is undefined we can't be sure there is no other thread still using the library (it could even be the canceled job that still handles a previous slot event). According to PKCS#11 the behavior of C_Finalize() is undefined while other threads still make calls over the API. However, canceling the thread, as done previously, could also be problematic as PKCS#11 libraries could hold locks while in the C_WaitForSlotEvent() call, which might not get released properly when the thread is just canceled, and which then might cause later calls to other API functions to block. Fixes #2437. | ||||
* | Migrate all enumerators to venumerate() interface change | Tobias Brunner | 2017-05-26 | 1 | -2/+8 |
| | |||||
* | lib: All settings use configured namespace | Tobias Brunner | 2014-02-12 | 1 | -4/+4 |
| | |||||
* | Moved debug.[ch] to utils folder | Tobias Brunner | 2012-10-24 | 1 | -1/+1 |
| | |||||
* | Moved data structures to new collections subfolder | Tobias Brunner | 2012-10-24 | 1 | -1/+1 |
| | |||||
* | Centralized thread cancellation in processor_t | Tobias Brunner | 2012-06-25 | 1 | -17/+3 |
| | | | | | | | | | | This ensures that no threads are active when plugins and the rest of the daemon are unloaded. callback_job_t was simplified a lot in the process as its main functionality is now contained in processor_t. The parent-child relationships were abandoned as these were only needed to simplify job cancellation. | ||||
* | Register manager of pkcs11 plugin as library object | Martin Willi | 2011-08-24 | 1 | -15/+0 |
| | |||||
* | Use CRITICAL job priority class for long running dispatcher jobs | Martin Willi | 2011-05-16 | 1 | -2/+2 |
| | |||||
* | Revert alloc_str changes | Martin Willi | 2011-04-21 | 1 | -5/+4 |
| | | | | | | This reverts commit fdead26ffe1da8501a6ff5e0639a6f44c723e763. This reverts commit 3e2419ebe32de72d824864eb2e0e677a7c197af1. This reverts commit 17ce69b47a1efd6234960cf7d1f50712aee61db5. | ||||
* | Use thread save settings alloc_str function where appropriate | Martin Willi | 2011-04-21 | 1 | -4/+5 |
| | |||||
* | corrected pkcs11 error message | Andreas Steffen | 2011-03-01 | 1 | -1/+1 |
| | |||||
* | Added a PKCS#11 module option to enforce OS Locking functions | Martin Willi | 2010-11-12 | 1 | -1/+4 |
| | |||||
* | Scheduler and processor have been moved to libstrongswan. | Tobias Brunner | 2010-09-02 | 1 | -2/+1 |
| | | | | | Also reverts 0c21dc000d3cd5c82eb22c4481e6459978456364 as the dependency to libcharon is no longer required. | ||||
* | Do initial slot enumeration manually | Martin Willi | 2010-08-04 | 1 | -5/+11 |
| | |||||
* | Defer certificate loading until all PKCS#11 modules are loaded | Martin Willi | 2010-08-04 | 1 | -3/+8 |
| | |||||
* | Provide a public PKCS#11 mechanism enumerator | Martin Willi | 2010-08-04 | 1 | -44/+21 |
| | |||||
* | Added enumerator for PKCS#11 tokens | Martin Willi | 2010-08-04 | 1 | -14/+120 |
| | |||||
* | Handle NOT_SUPPORT return value from WaitForSlot | Martin Willi | 2010-08-04 | 1 | -1/+1 |
| | |||||
* | Added a token add/remove callback function to the manager | Martin Willi | 2010-08-04 | 1 | -1/+16 |
| | |||||
* | Enumerate tokens and their mechanisms, wait for slot events | Martin Willi | 2010-08-04 | 1 | -9/+222 |
| | |||||
* | Moved PKCS#11 library loading to dedicated manager | Martin Willi | 2010-08-04 | 1 | -0/+86 |