mirror of
https://github.com/troglobit/finit.git
synced 2026-10-24 11:54:36 +00:00
conf: relocate global state from legacy parser
Relocate process-wide global variables from legacy parser that ended up there because it used to be conf.c, but which is now now frozen at the 4.x feature set. Each variable is moved to their respective "owner". Give cgroup_current[] and cgroup_settings_current[] named bounds. Their extern declarations were unsized, so sizeof() on them stopped compiling once the definitions moved to another translation unit. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
5 files changed
+58
-56
No files matched your search
@@ -66,6 +66,8 @@
|
||||
|
||||
#define NOTIFY_PATH "@run/finit/notify/%d"
|
||||
|
||||
int logfile_size_max = 200000; /* 200 kB */
|
||||
int logfile_count_max = 5;
|
||||
|
||||
/*
|
||||
* run tasks block other tasks/services from starting, we track the
|
||||
|
||||
Reference in new issue
Block a user