aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/lldpd/Config.in
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2015-03-24 10:13:08 +0000
committerJo-Philipp Wich <jow@openwrt.org>2015-03-24 10:13:08 +0000
commit437d710546e20c9ccabc7866dd9f57de3c0f2b9d (patch)
treef0e1cc03da57c3b1f64238b34b27f1e69afca4a3 /package/network/services/lldpd/Config.in
parent02e2548b844f987edab5fa82fb6283419f3381ff (diff)
downloadupstream-437d710546e20c9ccabc7866dd9f57de3c0f2b9d.tar.gz
upstream-437d710546e20c9ccabc7866dd9f57de3c0f2b9d.tar.bz2
upstream-437d710546e20c9ccabc7866dd9f57de3c0f2b9d.zip
lldpd: add option to disable privilege separation
Helpful to disable when debugging lldpd crashes (when working on it). When privilege separation is on, some crashes are stack-traced to some privilege separation code. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> SVN-Revision: 44967
Diffstat (limited to 'package/network/services/lldpd/Config.in')
-rw-r--r--package/network/services/lldpd/Config.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/network/services/lldpd/Config.in b/package/network/services/lldpd/Config.in
index a416490425..448506d047 100644
--- a/package/network/services/lldpd/Config.in
+++ b/package/network/services/lldpd/Config.in
@@ -1,6 +1,11 @@
menu "Configuration"
depends on PACKAGE_lldpd
+config LLDPD_WITH_PRIVSEP
+ bool
+ default y
+ prompt "Enable privilege separation (run lldpd with a chrooted 'lldp' user)"
+
config LLDPD_WITH_CDP
bool
default y