aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Fix the refactor... handle_event() modifies event, duh.Laurent Bercot2022-08-101-10/+8
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Adjust rebc output buffer according to kbufsz; refactor rebc callLaurent Bercot2022-08-091-18/+20
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Don't force nonblock on recvmsg, mdevd-coldplug needs to blockLaurent Bercot2022-08-091-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Use DEVPATH for mdevd-coldplug testing; don't export MDEV on rebcLaurent Bercot2022-08-042-1/+2
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix mdevd-coldlplug -O loop bugLaurent Bercot2022-08-034-8/+11
| | | | | | | | mdevd-coldplug -O reads its data from mdevd, a user process, so the check that we only read kernel data is invalid. Add an option to mdevd_uevent_read() to activate the check or not. Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add "settle" functionality to mdevd-colplugLaurent Bercot2022-07-249-134/+230
| | | | | | | | | - Still untested. - Also prepare for 0.1.6.0. - Includes a refactor of several functions in mdevd, moved into an internal libmdevd that is also used by mdevd-coldplug. Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Increase uevent buffer size to 8kLaurent Bercot2022-06-141-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix for the end-of-event detectionLaurent Bercot2022-05-141-10/+7
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix event handling completion logicLaurent Bercot2022-05-081-31/+34
| | | | | | | | With the fix for the duplicate spawn_command bug, we can now return to the main loop mid-script. We need a marker to know when we're done with the event and can rebc it. Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Tentative fix for the spawn-before-fallthrough bugLaurent Bercot2022-05-071-63/+75
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Adapt to skalibs-2.12.0.0Laurent Bercot2022-04-091-44/+4
| | | | | | Need to investigate what pulls vfprintf... Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Support any action type in * and & command directivesLaurent Bercot2021-08-271-2/+3
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add -O nlgroups for netlink rebroadcastLaurent Bercot2021-08-271-12/+47
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix sig_altignore() apiLaurent Bercot2021-08-181-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix buildLaurent Bercot2021-08-141-1/+0
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Prepare for 1.0.4.1Laurent Bercot2021-08-102-6/+6
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Cosmetic fixLaurent Bercot2021-05-061-1/+1
|
* Prepare for 1.0.4.0; new +,-,& directives for execlineb cmd interpLaurent Bercot2021-02-232-93/+98
|
* Prepare for 0.1.3.0; add -C option for autocoldplugLaurent Bercot2020-12-241-2/+14
|
* Get rid of DJBUNIX_FLAG_ adhocnessLaurent Bercot2020-12-091-1/+1
|
* coe outputfd; reorganize notif and outputfd testsLaurent Bercot2020-09-251-13/+16
|
* Add -o outputfd, first draftLaurent Bercot2020-09-241-10/+39
|
* Adapt to new stopwatch APIsLaurent Bercot2019-09-061-1/+1
|
* Use a stopwatch. Just for polling around firmware loading, yay.Laurent Bercot2019-09-041-0/+1
|
* Add nsss supportLaurent Bercot2018-08-011-0/+2
|
* Remove obsolete [ -1 ] from usage messageLaurent Bercot2018-07-251-1/+1
|
* Bugfix: don't allow EINTR in the main loopLaurent Bercot2018-07-251-1/+1
|
* Prepare for 0.1.0.2Laurent Bercot2018-07-211-3/+4
|
* Fix usage string (add -D notif)Laurent Bercot2018-04-201-1/+1
|
* Bugfix: fd leak on datafd errors when loading firmware. version: 0.1.0.1v0.1.0.1Laurent Bercot2018-01-161-4/+5
|
* Increase default kbufsz again, to 500 kBLaurent Bercot2018-01-161-1/+1
|
* Don't add the MDEV envvar more than onceLaurent Bercot2018-01-151-3/+6
|
* Triple kbufsz defaultLaurent Bercot2018-01-151-1/+1
|
* Small bugfixesLaurent Bercot2018-01-152-9/+4
|
* netlink really isn't fd 0 anymore >.>Laurent Bercot2018-01-141-6/+8
|
* Only send readiness notification after the first config file readLaurent Bercot2018-01-141-7/+6
|
* netlink isn't fd 0 anymoreLaurent Bercot2018-01-141-7/+7
|
* New mdevd model, prepare for 0.1.0.0Laurent Bercot2018-01-145-334/+223
| | | | | | - mdevd-netlink removed - mdevd listens to the netlink itself - mdevd-coldplug writes nothing to stdout, but triggers the kernel to create uevents
* Inline more functionsLaurent Bercot2017-10-231-2/+2
|
* Only reload when it's safe; credit mixi; doc dep to skalibs-2.6.0.2Laurent Bercot2017-10-231-4/+6
|
* Add line counting to first pass; refactor error messagesLaurent Bercot2017-10-222-18/+24
|
* Don't fail mkdirp on EEXISTLaurent Bercot2017-10-221-1/+1
|
* Don't read clock in main loop, start columns at 1, honor verbosityLaurent Bercot2017-10-221-4/+4
|
* Start line counting at 1Laurent Bercot2017-10-222-1/+2
|
* Option args need to be absolute pathsLaurent Bercot2017-10-221-1/+4
|
* Remove loldebugsLaurent Bercot2017-10-221-3/+0
|
* Fix 8 GB stack smashing bug (*cough* UINT_MAX isn't UINT_FMT). Thanks mixi.Laurent Bercot2017-10-221-10/+10
|
* Fix .gitignore, add missing filesLaurent Bercot2017-10-228-0/+1503