diff options
author | Denys Vlasenko | 2015-10-18 18:42:03 +0200 |
---|---|---|
committer | Denys Vlasenko | 2015-10-18 22:40:09 +0200 |
commit | d34f300db6d7a726759f4d820a61f19eacf11288 (patch) | |
tree | 3e722dad3550a08dfd5f618c8dd5fff50808674c /sysklogd/logread.c | |
parent | 2735bc00e35c5fd8eec6d656f4d8a17ee2630c2a (diff) | |
download | busybox-d34f300db6d7a726759f4d820a61f19eacf11288.zip busybox-d34f300db6d7a726759f4d820a61f19eacf11288.tar.gz |
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 da4a4d4..781a603 100644 --- a/sysklogd/logread.c +++ b/sysklogd/logread.c @@ -8,6 +8,31 @@ * * Licensed under GPLv2 or later, see file LICENSE in this source tree. */ +//config:config LOGREAD +//config: bool "logread" +//config: default y +//config: depends on FEATURE_IPC_SYSLOG +//config: help +//config: If you enabled Circular Buffer support, you almost +//config: certainly want to enable this feature as well. This +//config: utility will allow you to read the messages that are +//config: stored in the syslogd circular buffer. +//config: +//config:config FEATURE_LOGREAD_REDUCED_LOCKING +//config: bool "Double buffering" +//config: default y +//config: depends on LOGREAD +//config: help +//config: 'logread' ouput to slow serial terminals can have +//config: side effects on syslog because of the semaphore. +//config: This option make logread to double buffer copy +//config: from circular buffer, minimizing semaphore +//config: contention at some minor memory expense. +//config: + +//applet:IF_LOGREAD(APPLET(logread, BB_DIR_SBIN, BB_SUID_DROP)) + +//kbuild:lib-$(CONFIG_LOGREAD) += logread.o //usage:#define logread_trivial_usage //usage: "[-fF]" |