diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2015-10-18 18:42:03 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2015-10-18 22:40:09 +0200 |
commit | d34f300db6d7a726759f4d820a61f19eacf11288 (patch) | |
tree | 3e722dad3550a08dfd5f618c8dd5fff50808674c /sysklogd/logread.c | |
parent | 2735bc00e35c5fd8eec6d656f4d8a17ee2630c2a (diff) | |
download | busybox-w32-d34f300db6d7a726759f4d820a61f19eacf11288.tar.gz busybox-w32-d34f300db6d7a726759f4d820a61f19eacf11288.tar.bz2 busybox-w32-d34f300db6d7a726759f4d820a61f19eacf11288.zip |
sysklogd/*: convert to new-style "one file" applets
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'sysklogd/logread.c')
-rw-r--r-- | sysklogd/logread.c | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/sysklogd/logread.c b/sysklogd/logread.c index da4a4d4df..781a603b2 100644 --- a/sysklogd/logread.c +++ b/sysklogd/logread.c | |||
@@ -8,6 +8,31 @@ | |||
8 | * | 8 | * |
9 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 9 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
10 | */ | 10 | */ |
11 | //config:config LOGREAD | ||
12 | //config: bool "logread" | ||
13 | //config: default y | ||
14 | //config: depends on FEATURE_IPC_SYSLOG | ||
15 | //config: help | ||
16 | //config: If you enabled Circular Buffer support, you almost | ||
17 | //config: certainly want to enable this feature as well. This | ||
18 | //config: utility will allow you to read the messages that are | ||
19 | //config: stored in the syslogd circular buffer. | ||
20 | //config: | ||
21 | //config:config FEATURE_LOGREAD_REDUCED_LOCKING | ||
22 | //config: bool "Double buffering" | ||
23 | //config: default y | ||
24 | //config: depends on LOGREAD | ||
25 | //config: help | ||
26 | //config: 'logread' ouput to slow serial terminals can have | ||
27 | //config: side effects on syslog because of the semaphore. | ||
28 | //config: This option make logread to double buffer copy | ||
29 | //config: from circular buffer, minimizing semaphore | ||
30 | //config: contention at some minor memory expense. | ||
31 | //config: | ||
32 | |||
33 | //applet:IF_LOGREAD(APPLET(logread, BB_DIR_SBIN, BB_SUID_DROP)) | ||
34 | |||
35 | //kbuild:lib-$(CONFIG_LOGREAD) += logread.o | ||
11 | 36 | ||
12 | //usage:#define logread_trivial_usage | 37 | //usage:#define logread_trivial_usage |
13 | //usage: "[-fF]" | 38 | //usage: "[-fF]" |