summaryrefslogtreecommitdiffhomepage
path: root/main.c
AgeCommit message (Collapse)Author
2014-06-11netifd: process reload calls immediately instead of going through a timerFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2014-03-19uci: Allow setting the UCI config path on the command lineMatthias Schiffer
Add a -c switch which allows setting an alternative UCI path instead of using the libuci default. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2014-03-07proto-shell: defer init until after command line option processingFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2014-03-07wireless: defer init until after command line option processingFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2014-02-16Work around warn_unused_result in recent gcc/libcSteven Barth
2013-12-01netifd: fix process stdin/stdout/stderr when the pipe fds overlap with ↵Felix Fietkau
standard fds Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-10-22utils: add a function for checking if a process given by pid is still aliveFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2012-12-29log: fix processing of incomplete linesFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2012-10-30fix container_of for the log ustreamFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2012-10-30move uloop_process_delete call to get rid of an unnecessary checkFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2012-10-30log: the ustream notify_state callback is now optional, remove the stubFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2012-10-29use ustream for process message loggingFelix Fietkau
2012-10-29use FD_CLOEXEC instead of tracking lists of fdsFelix Fietkau
2012-05-13fix a file descriptor leakFelix Fietkau
2012-05-04add copyright headersFelix Fietkau
2012-03-19simplify log buffer handlingFelix Fietkau
2012-03-19fix log buffer splittingFelix Fietkau
2012-03-19fix log buffer overflow handlingFelix Fietkau
2012-01-21always use SIGKILL for netifd_kill_process, it is usually a last resortFelix Fietkau
2011-10-21in log read, check for EINTR instead of EAGAIN to avoid infinite loopsFelix Fietkau
2011-10-20try to grab log data more aggressivelyFelix Fietkau
2011-10-20fix segfaults in log line processingFelix Fietkau
2011-10-20reduce stack usageFelix Fietkau
2011-10-19rename config_init_interfaces to config_init_allFelix Fietkau
2011-10-19remove the argument to config_init_interfacesFelix Fietkau
2011-10-19move log levels to netifd.hFelix Fietkau
2011-10-18fix interrupted read checks in log collectionFelix Fietkau
2011-10-16fix infinite loop in logging when the logged process diesFelix Fietkau
2011-10-16add support for a user-configurable log levelFelix Fietkau
2011-10-16add support for logging messages via syslog (or optionally stdout)Felix Fietkau
2011-10-16detach stdin/stdout/stderr from child processes, implement a separate ↵Felix Fietkau
logging pipe and relay log messages with prefix
2011-10-15add support for tracking open file descriptors of modules and closing them ↵Felix Fietkau
for created child processes
2011-10-15move netifd_start_process dir_fd to the data structureFelix Fietkau
2011-10-15when killed, kill pending child processesFelix Fietkau
2011-10-15keep track of all running child processes in one placeFelix Fietkau
2011-10-11add some code for keeping track of dns servers and search domains and for ↵Felix Fietkau
writing resolv.conf
2011-10-09use /lib/netifd as main path when dummy mode is disabledFelix Fietkau
2011-10-07add support for calls to a hotplug script on interface state changesFelix Fietkau
2011-10-04rework debugging code, add debugging levelsFelix Fietkau
2011-10-03add a ubus call for triggering config reloadsFelix Fietkau
2011-09-23add a system_init function for system controlSteven Barth
2011-09-22fix compilation with GCC 4.6 on LinuxSteven Barth
2011-09-11bring all interfaces down on restartFelix Fietkau
2011-09-09add an option for selecting the main path for netifd addonsFelix Fietkau
2011-09-09add an ubus call for restarting netifdFelix Fietkau
2011-09-07move more stuff out of netifd.hFelix Fietkau
2011-09-07move some code to utils.[ch]Felix Fietkau
2011-04-13make avl_strcmp globally visibleFelix Fietkau
2011-03-27Initial importFelix Fietkau