Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add a return value to prf_t.get_bytes() | Martin Willi | 2012-07-16 | 10 | -31/+90 | |
| | ||||||
* | prf_plus_create() can return NULL on failure | Martin Willi | 2012-07-16 | 1 | -1/+1 | |
| | ||||||
* | Add a return value to prf_plus_t.get_bytes() | Martin Willi | 2012-07-16 | 2 | -7/+7 | |
| | ||||||
* | Add a return value to prf_plus_t.allocate_bytes() | Martin Willi | 2012-07-16 | 2 | -2/+5 | |
| | ||||||
* | Add a return value to signer_t.set_key() | Martin Willi | 2012-07-16 | 5 | -7/+19 | |
| | ||||||
* | Add a return value to signer_t.get_signature() | Martin Willi | 2012-07-16 | 5 | -21/+45 | |
| | ||||||
* | Add a return value to signer_t.allocate_signature() | Martin Willi | 2012-07-16 | 5 | -6/+20 | |
| | ||||||
* | Add a return value to aead_t.set_key() | Martin Willi | 2012-07-16 | 5 | -6/+18 | |
| | ||||||
* | Add a return value to aead_t.encrypt() | Martin Willi | 2012-07-16 | 5 | -12/+27 | |
| | ||||||
* | Compilation error fixed if dladdr is not available | Tobias Brunner | 2012-07-14 | 1 | -0/+6 | |
| | ||||||
* | Silence cast warning on 32-bit platforms | Martin Willi | 2012-07-13 | 1 | -1/+1 | |
| | ||||||
* | Don't set BFD_DECOMPRESS when building against older binutils | Martin Willi | 2012-07-13 | 1 | -0/+2 | |
| | ||||||
* | Append directly to base string in vstr printf hooks | Martin Willi | 2012-07-13 | 2 | -20/+10 | |
| | ||||||
* | Write directly to FILE stream in glibc printf hooks | Martin Willi | 2012-07-13 | 2 | -35/+49 | |
| | ||||||
* | Pass opaque data to printf hooks and print_in_hook() | Martin Willi | 2012-07-13 | 14 | -59/+83 | |
| | ||||||
* | Increase leak detective backtrace depth by a frame | Martin Willi | 2012-07-13 | 1 | -4/+4 | |
| | ||||||
* | Don't access tail magic when reallocating invalid memory, as it would crash | Martin Willi | 2012-07-13 | 1 | -5/+7 | |
| | ||||||
* | With --enable-bfd-backtraces, use binutils libbfd to resolve backtraces | Martin Willi | 2012-07-13 | 4 | -29/+287 | |
| | | | | | | | | The invocation of addr2line to resolve backtrace source locations is slow and cumbersome. When using libbfd directly, we can eliminate the overhead of the process invocation. Even better, we can cache library symbol names, bringing wicked fast lookups. As a neat bonus, we can resolve static function names. | |||||
* | Add an external method to disable leak detective temporarly | Martin Willi | 2012-07-13 | 2 | -0/+38 | |
| | ||||||
* | Added PLUGIN_NOOP to separate PLUGIN_PROVIDE from previous CALLBACK/REGISTER ↵ | Tobias Brunner | 2012-07-12 | 2 | -9/+19 | |
| | | | | entries | |||||
* | Android.mk of libstrongswan adapted to config.h changes | Tobias Brunner | 2012-07-12 | 1 | -78/+24 | |
| | ||||||
* | Properly cleanup thread-local values for the threads destroying ↵ | Tobias Brunner | 2012-07-12 | 1 | -2/+19 | |
| | | | | thread_value_t objects | |||||
* | fixed libstrongswan/Makefile.am | Andreas Steffen | 2012-07-11 | 1 | -11/+11 | |
| | ||||||
* | Install dev headers only if --with-dev-headers= option is set | Martin Willi | 2012-07-11 | 1 | -1/+3 | |
| | ||||||
* | Check if config.h passed correctly via gcc -include | Martin Willi | 2012-07-11 | 1 | -0/+4 | |
| | ||||||
* | Install libstrongswan development headers | Martin Willi | 2012-07-11 | 2 | -81/+56 | |
| | ||||||
* | Use and install a config.h AC_CONFIG_HEADER that contains all AC_DEFINE results | Martin Willi | 2012-07-11 | 1 | -0/+3 | |
| | ||||||
* | Add safe_strerror() to leak detective whitelist | Martin Willi | 2012-07-11 | 1 | -0/+1 | |
| | | | | | | While the thread specific strerror buffer gets cleaned up for worker threads during their termination, the main thread itself, and so its strerror buffer, is still alive during leak reports. | |||||
* | Add an option to disable libstrongswan certificate caching | Martin Willi | 2012-07-09 | 1 | -18/+29 | |
| | ||||||
* | getpwnam_r and getgrnam_r are not supported by the Android NDK | Tobias Brunner | 2012-07-09 | 1 | -24/+69 | |
| | ||||||
* | Android.mk of libstrongswan updated | Tobias Brunner | 2012-07-09 | 1 | -0/+2 | |
| | ||||||
* | Refactored heavily #ifdefd capability code to its own libstrongswan class | Martin Willi | 2012-07-04 | 3 | -0/+358 | |
| | ||||||
* | Added wrapper for POSIX spin locks | Tobias Brunner | 2012-07-04 | 3 | -0/+191 | |
| | ||||||
* | Default to register_printf_specifier() if no printf hooking #defined | Martin Willi | 2012-07-03 | 1 | -0/+7 | |
| | | | | | | This allows us to build (non-./configured) external tools against libstrongswan without explicitly specifiying the most commonly used printf hooking function. | |||||
* | openssl: Ensure the thread ID is never zero | Tobias Brunner | 2012-07-03 | 1 | -1/+3 | |
| | | | | | | This might otherwise cause problems because OpenSSL tries to lock mutexes recursively if it assumes the lock is held by a different thread e.g. during FIPS initialization. | |||||
* | Accept non-"/0" subnet sizes for traffic selectors starting at 0.0.0.0 | Martin Willi | 2012-07-02 | 1 | -40/+9 | |
| | ||||||
* | Added GPL header to AndroidConfigLocal.h | Tobias Brunner | 2012-06-29 | 1 | -0/+15 | |
| | ||||||
* | Removed superfluous remove_hasher() call in md5 plugin | Tobias Brunner | 2012-06-29 | 1 | -2/+0 | |
| | ||||||
* | Defined a macro to replace strerror(3) with calls to thread-safe wrapper | Tobias Brunner | 2012-06-28 | 2 | -0/+7 | |
| | ||||||
* | Thread-safe wrapper around strerror(3)/strerror_r(3) added | Tobias Brunner | 2012-06-28 | 2 | -4/+92 | |
| | ||||||
* | gcrypt: Register SHA1 first as HASH_PREFERRED depends on it | Tobias Brunner | 2012-06-27 | 1 | -1/+1 | |
| | ||||||
* | Added MAC wrappers to Android.mk | Tobias Brunner | 2012-06-26 | 1 | -0/+3 | |
| | ||||||
* | Build nonce plugin on Android | Tobias Brunner | 2012-06-26 | 1 | -0/+3 | |
| | ||||||
* | Added support for the curl plugin on Android | Tobias Brunner | 2012-06-26 | 1 | -0/+6 | |
| | ||||||
* | Make rescheduling a job more predictable | Tobias Brunner | 2012-06-25 | 2 | -37/+85 | |
| | | | | | | | | | | | | | This avoids race conditions between calls to cancel() and jobs that like to be rescheduled. If jobs were able to reschedule themselves it would theoretically be possible that two worker threads have the same job assigned (the one currently executing the job and the one executing the same but rescheduled job if it already is time to execute it), this means that cancel() could be called twice for that job. Creating a new job based on the current one and reschedule that is also OK, but rescheduling itself is more efficient for jobs that need to be executed often. | |||||
* | Centralized thread cancellation in processor_t | Tobias Brunner | 2012-06-25 | 7 | -223/+127 | |
| | | | | | | | | | | 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. | |||||
* | Give processor_t more control over the lifecycle of a job | Tobias Brunner | 2012-06-25 | 6 | -105/+176 | |
| | | | | | | | | | | | Jobs are now destroyed by the processor, but they are allowed to reschedule themselves. That is, parts of the reschedule functionality already provided by callback_job_t is moved to the processor. Not yet fully supported is JOB_REQUEUE_DIRECT and canceling jobs. Note: job_t.destroy() is now called not only for queued jobs but also after execution or cancellation of jobs. job_t.status can be used to decide what to do in said method. | |||||
* | Added a method to plugin_loader_t to add 'static' plugin features | Tobias Brunner | 2012-06-25 | 2 | -0/+115 | |
| | | | | | | | | This allows daemons and other components to register plugin features like those provided by plugins (following the same lifecycle). The added features are internally handled like they were added by a plugin. | |||||
* | Make sure that all features of critical plugins are loaded | Tobias Brunner | 2012-06-25 | 1 | -5/+64 | |
| | ||||||
* | Use mac_t and PRF and signer wrappers in cmac plugin | Tobias Brunner | 2012-06-25 | 8 | -443/+82 | |
| |