Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | pass over the netlink socket to handler instead of using a pipe | Natanael Copa | 2015-03-15 | 2 | -125/+88 |
| | | | | | | | | | 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 |
| | |||||
* | log: define argv0 | Natanael Copa | 2015-03-12 | 1 | -0/+1 |
| | |||||
* | forward the events to a helper process via pipe | Natanael Copa | 2015-03-12 | 3 | -75/+191 |
| | | | | | | | 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 | 4 | -43/+61 |
| | | | | 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 | ||||
* | Applying DVB changes for the new mdev.conf format. | Christoph Lohmann | 2012-06-10 | 1 | -10/+12 |
| | |||||
* | Preliminary fixes for the new mdev in busybox. | Christoph Lohmann | 2012-05-28 | 3 | -45/+66 |
| | |||||
* | devinput and /dev/fd are now correctly created. | Christoph Lohmann | 2012-05-19 | 6 | -23/+34 |
| | |||||
* | Sanitizing env handling for children and using busbox for scripts. | Christoph Lohmann | 2012-05-18 | 3 | -13/+5 |
| | |||||
* | There could be now /proc/fd or /dev/fd. | Christoph Lohmann | 2012-05-11 | 1 | -1/+5 |
| | |||||
* | Fixing the spelling in the manpage. | Christoph Lohmann | 2012-05-03 | 1 | -1/+1 |
| | |||||
* | Moving nldev to man section 8. | Christoph Lohmann | 2012-05-02 | 2 | -8/+8 |
| | |||||
* | 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 |
| | |||||
* | Making the FIXES.md into the Makefile. | Christoph Lohmann | 2012-04-29 | 1 | -1/+1 |
| | |||||
* | Adding a simple db for fixing udev dependencies. | Christoph Lohmann | 2012-04-29 | 1 | -0/+14 |
| | |||||
* | Some more oss ads for the README.md. | Christoph Lohmann | 2012-04-28 | 1 | -0/+21 |
| | |||||
* | A bit more precise in README.md. | Christoph Lohmann | 2012-04-28 | 8 | -0/+469 |
| | |||||
* | Add README.md. | Christoph Lohmann | 2012-04-28 | 1 | -0/+33 |
| | |||||
* | Add nltrigger. | Christoph Lohmann | 2012-04-28 | 3 | -0/+62 |
| | |||||
* | Adding a common startup script that supports logging. | Christoph Lohmann | 2012-04-28 | 3 | -1/+7 |
| | |||||
* | 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 | 3 | -11/+62 |
| | |||||
* | Initial commit. | Christoph Lohmann | 2012-04-15 | 6 | -0/+498 |