- add a config-time range check for IPC_SYSLOG_BUFFER_SIZE
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Thu, 7 Jun 2007 13:22:56 +0000 (13:22 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Thu, 7 Jun 2007 13:22:56 +0000 (13:22 -0000)
  The upper-bound doesn't look like it is working since it accepts LONG_MAX as input. I suspect that this is an lxdialog feature or something like that ;)

sysklogd/Config.in

index 29c4d9b..78097ee 100644 (file)
@@ -59,6 +59,7 @@ config FEATURE_IPC_SYSLOG
 config FEATURE_IPC_SYSLOG_BUFFER_SIZE
        int "    Circular buffer size in Kbytes (minimum 4KB)"
        default 16
+       range 4 2147483647
        depends on FEATURE_IPC_SYSLOG
        help
          This option sets the size of the circular buffer