Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-08-24 | Coding style: always add a space between a pointer's type and the * | Matthias Schiffer | |
2014-08-22 | Remove VECTOR_ALLOC | Matthias Schiffer | |
It is done automatically now if the VECTOR is zeroed before. | |||
2014-08-02 | Introduce and use alloc helpers | Matthias Schiffer | |
These new helpers will terminate fastd on allocation failures and add some additional convenience (allow strdup with NULL; typesafe new(type) macros). | |||
2014-06-14 | shell: add missing signal.h include | Matthias Schiffer | |
2014-06-05 | Simplify systemd notify socket handling | Matthias Schiffer | |
2014-05-31 | Unblock signals only during poll/epoll wait | Matthias Schiffer | |
If signals are normally blocked, we can avoid a lot of EINTR handling. | |||
2014-05-29 | Document *everything* | Matthias Schiffer | |
2014-05-28 | Still more documentation | Matthias Schiffer | |
2014-05-27 | More documentation | Matthias Schiffer | |
2014-05-27 | Lots and lots of documentation | Matthias Schiffer | |
2014-05-23 | shell: ensure the signal mask is restored if shell_command_do_exec fails | Matthias Schiffer | |
2014-05-23 | Implement a different fix for the waitpid race condition not needing a ↵ | Matthias Schiffer | |
reaper thread for each child | |||
2014-05-23 | Revert "Fix waitpid race condition" | Matthias Schiffer | |
This reverts commit 47d84679d6fe71f56d3a013578007dff92ff72db. | |||
2014-05-22 | Fix waitpid race condition | Matthias Schiffer | |
Doing a waitpid for all processes in the SIGCHLD handler could sometimes steal a signal from a fastd_shell_command_exec_sync call. To fix this, don't reap the children in the SIGCHLD handler anymore, but create a reaper thread for each asynchronous shell command. | |||
2014-04-30 | shell: close all fds > 2 after forking | Matthias Schiffer | |
socket/fcntl to set FD_CLOEXEC isn't thread-safe with async verify handlers, and SOCK_CLOEXEC isn't portable. | |||
2014-04-26 | Revise shell command API | Matthias Schiffer | |
2014-04-20 | Make ctx global | Matthias Schiffer | |
2014-04-20 | Make conf global | Matthias Schiffer | |
2014-04-18 | shell: unblock SIGCHLD before exec | Matthias Schiffer | |
2014-04-18 | Fix zombie process cleanup | Matthias Schiffer | |
2014-04-18 | Clean up shell command handling | Matthias Schiffer | |
2014-04-11 | Add support for async commands | Matthias Schiffer | |
2014-04-11 | Improve shell command config handling | Matthias Schiffer | |
2014-03-14 | Adjust copyright years | Matthias Schiffer | |
2013-08-12 | Add pre-up and post-down handlers | Matthias Schiffer | |
2013-08-07 | Add sys/wait.h includes where necessary on FreeBSD | Matthias Schiffer | |
2013-07-25 | Move _GNU_SOURCE define to types.h | Matthias Schiffer | |
2013-04-21 | shell: add interface for link-local addresses to PEER_ADDRESS as well | Matthias Schiffer | |
2013-04-20 | Always include interface name for link-local addresses | Matthias Schiffer | |
2013-02-27 | Don't set the peer address for temporary peers before the session is ↵ | Matthias Schiffer | |
actually established Doing so could lead to duplicate address entries in different peers, causing very strange behaviour. Add additional parameters for the local and the peer address to fastd_shell_exec() to allow the on-verify script to use this information nevertheless. | |||
2013-02-25 | Fix shell command exit status message, for real. | Matthias Schiffer | |
2013-02-25 | Fix shell exit status warning condition | Matthias Schiffer | |
2013-02-25 | Add public keys to shell environment | Matthias Schiffer | |
2013-02-25 | Set some more environment variables for shell commands | Matthias Schiffer | |
2013-02-25 | Get rid of some duplicate code for calling shell commands | Matthias Schiffer | |