Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | lib, ipcpd, irmd: Wrap pthread unlocks for cleanup | Dimitri Staessens | 2021-06-23 | 1 | -3/+2 |
| | | | | | | | | | | | | This add an ouroboros/pthread.h header that wraps the pthread_..._unlock() functions for cleanup using pthread_cleanup_push() as this casting is not safe (and there were definitely bad casts in the code). The close() function is now also wrapped for cleanup in ouroboros/sockets.h. This allows enabling more compiler checks. Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks> Signed-off-by: Sander Vrijders <sander@ouroboros.rocks> | ||||
* | build: Move connmgr and enrolment to common ground | Dimitri Staessens | 2021-03-28 | 5 | -0/+1070 |
The connection manager and enrolment components of the unicast and broadcast IPCP have a lot in common, as conjectured in the paper. The initial implementation of the broadcast IPCP just duplicated the code. This moves the shared functionality to common ground. Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks> Signed-off-by: Sander Vrijders <sander@ouroboros.rocks> |