Lines 6-12
Link Here
|
6 |
#else |
6 |
#else |
7 |
# define KLOGCTL_OPTIONS "" |
7 |
# define KLOGCTL_OPTIONS "" |
8 |
#endif |
8 |
#endif |
9 |
#define GETOPT_OPTIONS KLOGCTL_OPTIONS "aBC:hp:sVv" |
9 |
#define GETOPT_OPTIONS KLOGCTL_OPTIONS "aBC:hp:sVvN" |
10 |
|
10 |
|
11 |
static struct option long_options[] = { |
11 |
static struct option long_options[] = { |
12 |
{ "async", 0, NULL, 'a' }, |
12 |
{ "async", 0, NULL, 'a' }, |
Lines 16-21
Link Here
|
16 |
#endif |
16 |
#endif |
17 |
{ "configfile", 1, NULL, 'C' }, |
17 |
{ "configfile", 1, NULL, 'C' }, |
18 |
{ "pidfile", 1, NULL, 'p' }, |
18 |
{ "pidfile", 1, NULL, 'p' }, |
|
|
19 |
{ "no-kernel", 0, NULL, 'N' }, |
19 |
{ "synchronous", 0, NULL, 's' }, |
20 |
{ "synchronous", 0, NULL, 's' }, |
20 |
{ "sync", 0, NULL, 's' }, |
21 |
{ "sync", 0, NULL, 's' }, |
21 |
{ "verbose", 0, NULL, 'v' }, |
22 |
{ "verbose", 0, NULL, 'v' }, |
Lines 36-41
Link Here
|
36 |
static pid_t child; |
37 |
static pid_t child; |
37 |
static sig_atomic_t synchronous = (sig_atomic_t) 1; |
38 |
static sig_atomic_t synchronous = (sig_atomic_t) 1; |
38 |
static int verbose; |
39 |
static int verbose; |
|
|
40 |
static int do_kernel_log = 1; |
39 |
static signed char daemonize; |
41 |
static signed char daemonize; |
40 |
static const char *pid_file = DEFAULT_PID_FILE; |
42 |
static const char *pid_file = DEFAULT_PID_FILE; |
41 |
static const char *config_file = DEFAULT_CONFIG_FILE; |
43 |
static const char *config_file = DEFAULT_CONFIG_FILE; |