Felix Fietkau
|
36dba9c4a9
fix log buffer overflow handling
|
12 years ago |
Felix Fietkau
|
9393ff39a8
always use SIGKILL for netifd_kill_process, it is usually a last resort
|
13 years ago |
Felix Fietkau
|
8f689d0981
in log read, check for EINTR instead of EAGAIN to avoid infinite loops
|
13 years ago |
Felix Fietkau
|
26486b46ea
try to grab log data more aggressively
|
13 years ago |
Felix Fietkau
|
6f19c791d4
fix segfaults in log line processing
|
13 years ago |
Felix Fietkau
|
268149290f
reduce stack usage
|
13 years ago |
Felix Fietkau
|
8699ae1f82
rename config_init_interfaces to config_init_all
|
13 years ago |
Felix Fietkau
|
7831c63091
remove the argument to config_init_interfaces
|
13 years ago |
Felix Fietkau
|
9b2cc549af
move log levels to netifd.h
|
13 years ago |
Felix Fietkau
|
6dfd44e127
fix interrupted read checks in log collection
|
13 years ago |
Felix Fietkau
|
cb9d737030
fix infinite loop in logging when the logged process dies
|
13 years ago |
Felix Fietkau
|
2f976c5391
add support for a user-configurable log level
|
13 years ago |
Felix Fietkau
|
39f9caf261
add support for logging messages via syslog (or optionally stdout)
|
13 years ago |
Felix Fietkau
|
b314737e9a
detach stdin/stdout/stderr from child processes, implement a separate logging pipe and relay log messages with prefix
|
13 years ago |
Felix Fietkau
|
6b3f6f4466
add support for tracking open file descriptors of modules and closing them for created child processes
|
13 years ago |
Felix Fietkau
|
8c4dface37
move netifd_start_process dir_fd to the data structure
|
13 years ago |
Felix Fietkau
|
39d99df085
when killed, kill pending child processes
|
13 years ago |
Felix Fietkau
|
745016bc4a
keep track of all running child processes in one place
|
13 years ago |
Felix Fietkau
|
41842d3f91
add some code for keeping track of dns servers and search domains and for writing resolv.conf
|
13 years ago |
Felix Fietkau
|
7c4108d49d
use /lib/netifd as main path when dummy mode is disabled
|
13 years ago |
Felix Fietkau
|
2152229c45
add support for calls to a hotplug script on interface state changes
|
13 years ago |
Felix Fietkau
|
64c271ed3b
rework debugging code, add debugging levels
|
13 years ago |
Felix Fietkau
|
367f5edba8
add a ubus call for triggering config reloads
|
13 years ago |
Steven Barth
|
8e3fc8bfa5
add a system_init function for system control
|
13 years ago |
Steven Barth
|
bc5d577ff9
fix compilation with GCC 4.6 on Linux
|
13 years ago |
Felix Fietkau
|
a323f3adf2
bring all interfaces down on restart
|
13 years ago |
Felix Fietkau
|
cfc905f003
add an option for selecting the main path for netifd addons
|
13 years ago |
Felix Fietkau
|
275a09d6c5
add an ubus call for restarting netifd
|
13 years ago |
Felix Fietkau
|
3fa53680c8
move more stuff out of netifd.h
|
13 years ago |
Felix Fietkau
|
3492219e21
move some code to utils.[ch]
|
13 years ago |