Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | nldev: remove unused option for debugHEADmaster | Natanael Copa | 2015-03-15 | 1 | -6/+1 |
| | |||||
* | nldev: simplify by removing daemonization | Natanael Copa | 2015-03-15 | 1 | -10/+1 |
| | | | | caller can handle that. (eg openrc/runit) | ||||
* | pass over the netlink socket to handler instead of using a pipe | Natanael Copa | 2015-03-15 | 1 | -119/+14 |
| | | | | | | | | | hand over the netlink socket directly to the handler and let handler read from netlink instead of forwarding the message via pipe. This simplifies the logic of the longtime running netlink daemon and it simplifies the handling of partially read messages since all reading happens is done by the handler. | ||||
* | nldev: set kernel buffer to 64kb | Natanael Copa | 2015-03-12 | 1 | -1/+1 |
| | |||||
* | nldev: don't do defensive programming | Natanael Copa | 2015-03-12 | 1 | -1/+0 |
| | |||||
* | nldev: don't bother close netlink socket before exit | Natanael Copa | 2015-03-12 | 1 | -4/+0 |
| | | | | we let kernel clean that up for us | ||||
* | nldev: don't bother shutdown on a socket we are about to close | Natanael Copa | 2015-03-12 | 1 | -4/+1 |
| | |||||
* | nldev: close netlink filhandle on exec | Natanael Copa | 2015-03-12 | 1 | -0/+1 |
| | |||||
* | nldev: remove disableoom | Natanael Copa | 2015-03-12 | 1 | -19/+0 |
| | | | | | | | | This logic does not need to be in the always-in-memory code. Instead, let the caller handle it. Something like this can be used: http://b0llix.net/perp/site.cgi?page=runchoom.8 | ||||
* | nldev: do not try trap SIGKILL | Natanael Copa | 2015-03-12 | 1 | -2/+0 |
| | |||||
* | forward the events to a helper process via pipe | Natanael Copa | 2015-03-12 | 1 | -74/+58 |
| | | | | | | | To reduce number of forks we pass over the events to a helper program via a pipe. when there are no events for a certain time the helper program can exit to save memory. Once new events arrives the nldev application will respawn the helper. | ||||
* | move edie, die and dbg functions to log.c | Natanael Copa | 2015-03-12 | 1 | -42/+2 |
| | | | | So it can be reused by the handler. | ||||
* | move netlink socket initialization to its own function | Natanael Copa | 2014-12-29 | 1 | -23/+35 |
| | | | | improves readability | ||||
* | Sanitizing env handling for children and using busbox for scripts. | Christoph Lohmann | 2012-05-18 | 1 | -10/+2 |
| | |||||
* | Fixing the dup handling of the child. | Christoph Lohmann | 2012-05-02 | 1 | -4/+2 |
| | |||||
* | Fixing dup typo in execl. | Christoph Lohmann | 2012-05-02 | 1 | -1/+1 |
| | |||||
* | Message error handling fixed at nl_pid and EINTR. | Christoph Lohmann | 2012-04-28 | 1 | -9/+7 |
| | |||||
* | Adding security and nasty comments. | Christoph Lohmann | 2012-04-28 | 1 | -8/+59 |
| | |||||
* | Initial commit. | Christoph Lohmann | 2012-04-15 | 1 | -0/+288 |