mirror of
https://github.com/troglobit/finit.git
synced 2026-10-13 10:14:47 +00:00
Fix too small MAX args in initctl and too few args in svc_t
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
@@ -150,7 +150,7 @@ static int show_status(char *UNUSED(arg))
|
||||
|
||||
for (svc = svc_iterator(1); svc; svc = svc_iterator(0)) {
|
||||
int inetd = svc_is_inetd(svc);
|
||||
char jobid[10], args[80] = "";
|
||||
char jobid[10], args[512] = "";
|
||||
struct init_request rq = {
|
||||
.magic = INIT_MAGIC,
|
||||
.cmd = INIT_CMD_QUERY_INETD,
|
||||
|
||||
@@ -52,7 +52,7 @@ typedef enum {
|
||||
#define MAX_USER_LEN 16
|
||||
#define MAX_NUM_FDS 64 /* Max number of I/O plugins */
|
||||
#define MAX_NUM_SVC 64 /* Enough? */
|
||||
#define MAX_NUM_SVC_ARGS 16
|
||||
#define MAX_NUM_SVC_ARGS 32
|
||||
|
||||
/* Default enable for all services, can be stopped by means
|
||||
* of issuing an initctl call. E.g.
|
||||
|
||||
Reference in New Issue
Block a user