Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-07-02 | service: fix trigger related double-free | Felix Fietkau | |
The memdup is unnecessary, because the data is contained inside in->config. Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2014-07-02 | service: implement get_data to dump the data fields for every instance | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2014-07-02 | instance: allow filling "data" with fields of arbitrary type | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2014-06-19 | make static linking work for upgraded | John Crispin | |
Signed-off-by: John Crispin <blogic@openwrt.org> | |||
2014-06-17 | only build upgraded on mips | John Crispin | |
Signed-off-by: John Crispin <blogic@openwrt.org> | |||
2014-06-16 | move upgrade to its own subfolder | John Crispin | |
Signed-off-by: John Crispin <blogic@openwrt.org> | |||
2014-06-16 | rename the folder option to path | John Crispin | |
Signed-off-by: John Crispin <blogic@openwrt.org> | |||
2014-06-11 | procd: force -lc -lgcc to handle cross-dependencies between those two | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2014-06-11 | Increase buffers for hotplug and cmdline for UML | Steven Barth | |
Thanks to Markus Stenberg for debugging and testing. Signed-off-by: Steven Barth <steven@midlink.org> | |||
2014-06-11 | only add the nandupgrade method when /sbin/upgraded exists | John Crispin | |
Signed-off-by: John Crispin <blogic@openwrt.org> | |||
2014-06-11 | add upgraded support for nand flashing | John Crispin | |
Signed-off-by: John Crispin <blogic@openwrt.org> | |||
2014-06-06 | allow instances to report errors. if an error is set, the instance wont be ↵ | John Crispin | |
started Signed-off-by: John Crispin <blogic@openwrt.org> | |||
2014-06-05 | service: do not emit any service events before the ubus connection is up | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2014-06-05 | service: register the subscriber object before the event handler | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2014-06-05 | service: fix a debug message typo | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2014-06-05 | service: fix a leftover debug hack | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2014-06-05 | 0467aebb79f64d1c9d05a84367fda7c02c4ea6b8 included too much | John Crispin | |
Signed-off-by: John Crispin <blogic@openwrt.org> | |||
2014-06-05 | wait for kmod loader to complete on first boot | John Crispin | |
Signed-off-by: John Crispin <blogic@openwrt.org> | |||
2014-06-05 | send ubus_notify events when servers and instances change state | John Crispin | |
Signed-off-by: John Crispin <blogic@openwrt.org> | |||
2014-06-05 | add wildcard support to trigger matching code | John Crispin | |
Signed-off-by: John Crispin <blogic@openwrt.org> | |||
2014-06-05 | allow instances to register ubus object that should be watched | John Crispin | |
Signed-off-by: John Crispin <blogic@openwrt.org> | |||
2014-05-25 | service: fix json object leak in validate code | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2014-05-25 | service: free trigger json_script context | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2014-05-25 | service: fix trigger data memleak | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2014-05-25 | service: ensure that trigger timers are always cancelled before free | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2014-05-25 | service: fix memleak in trigger handling | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2014-05-25 | service: use avl_remove_all_elements() | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2014-05-25 | service: remove unused argument to service_update() | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2014-05-25 | service: fix double-free in error path | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2014-05-25 | service: use blob_memdup() | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2014-05-25 | hotplug: fix memleak in debug codepath | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2014-05-24 | inittab: strip trailing whitespace (especially newline) | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2014-03-20 | inittab: avoid character collating to work around character class escaping ↵ | Felix Fietkau | |
issue in a regex This makes the regex work with musl Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2014-03-18 | rcS: fix a format string bug | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2014-03-18 | rcS: do not access ustream_buf data directly | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2014-02-24 | instance: improve portability of setting resource limits | Felix Fietkau | |
the data type varies for different implementations Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2014-02-07 | commit e0921ed71bab0ad7d2344774a33c22809eb10190 set the timeout globally | John Crispin | |
lets restrict it to stop scripts only Signed-off-by: John Crispin <blogic@openwrt.org> | |||
2014-01-29 | fix the dump logic to show validators and triggers even if no instances exist | John Crispin | |
Signed-off-by: John Crispin <blogic@openwrt.org> | |||
2014-01-29 | force all runqueue tasks to a timeout of 15s | John Crispin | |
Signed-off-by: John Crispin <blogic@openwrt.org> | |||
2014-01-20 | state.c: pass ubus commandline is writable buffer to service_start_early() | Jo-Philipp Wich | |
The service_start_early() function uses strtok() on the command line argument, therfore we cannot pass it constant string literals directly. Fixes OpenWrt bug #14832 Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> | |||
2013-12-18 | procd: fix service file tracking | Jo-Philipp Wich | |
The instance_config_move() function in the procd instance managing code is missing a blobmsg_list_move() call to update the tracked file items with the newly calculated checksums in case of a file change. Without that change, services are always reloaded after the first change to a tracked file regardless of whether there are any subsequent changes or not. Add a missing instance of blobmsg_list_free() as well. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> | |||
2013-12-09 | fix copy paste error | John Crispin | |
Signed-off-by: John Crispin <blogic@openwrt.org> | |||
2013-12-09 | procd: set resource limits for service instances | Ulrich Weber | |
useful to enable core dumps or set resource limits Signed-off-by: Ulrich Weber <uw@xyne.com> | |||
2013-11-22 | cleanup debug level handover | John Crispin | |
Signed-off-by: John Crispin <blogic@openwrt.org> | |||
2013-11-20 | fix rcS memory leaks and running hook | John Crispin | |
Signed-off-by: John Crispin <blogic@openwrt.org> | |||
2013-11-19 | make ue of the md5.c inside libubox | John Crispin | |
Signed-off-by: John Crispin <blogic@openwrt.org> | |||
2013-11-19 | fix up the order of respawn parameters for ubus | John Crispin | |
Signed-off-by: John Crispin <blogic@openwrt.org> | |||
2013-11-18 | add a event broadcast function | John Crispin | |
Signed-off-by: John Crispin <blogic@openwrt.org> | |||
2013-11-18 | add debug level handover between preinit and main process | John Crispin | |
Signed-off-by: John Crispin <blogic@openwrt.org> | |||
2013-11-18 | make the service running trigger be queued directly after the service was ↵ | John Crispin | |
startetd Signed-off-by: John Crispin <blogic@openwrt.org> |