summaryrefslogtreecommitdiff
path: root/src/daemon/dlt.conf
diff options
context:
space:
mode:
authorJiri Popek <jiri.popek@gmail.com>2019-07-25 13:35:11 +0200
committerSaya Sugiura <39760799+ssugiura@users.noreply.github.com>2019-07-25 20:35:11 +0900
commit618920f01b65dfeffe76092057998808163ccb11 (patch)
treec7f1ca141360046ef66557bb34c127220cf67a9e /src/daemon/dlt.conf
parente8716cc5c950e50411b23a7a6cafa3c063c59e90 (diff)
downloadDLT-daemon-618920f01b65dfeffe76092057998808163ccb11.tar.gz
Add option to set owner group of daemon FIFO (#122)
New option to set owner group of daemon FIFO (Default: /tmp/dlt) is added in dlt.conf. If this option is used properly, more secure tracing can be realized. Only application that is in dlt_user_apps_group can write log message to daemon FIFO. Signed-off-by: Yusuke Sato <yusuke-sato@apn.alpine.co.jp>
Diffstat (limited to 'src/daemon/dlt.conf')
-rw-r--r--src/daemon/dlt.conf9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/daemon/dlt.conf b/src/daemon/dlt.conf
index 746176d..f9f02a1 100644
--- a/src/daemon/dlt.conf
+++ b/src/daemon/dlt.conf
@@ -82,6 +82,13 @@ RingbufferStepSize = 500000
# GatewayConfigFile = /etc/dlt_gateway.conf
########################################################################
+# Permission configuration #
+# ==================================================================== #
+# Owner group of daemon FIFO directory(Default: /tmp/dlt)
+# (If not set, primary group of dlt-daemon process is used)
+# DaemonFifoGroup = dlt_user_apps_group
+
+########################################################################
# Control Application #
########################################################################
ControlSocketPath = /tmp/dlt-ctrl.sock
@@ -181,4 +188,4 @@ ControlSocketPath = /tmp/dlt-ctrl.sock
# The IP addresses must be separated with ',' or ';' but not with space character ' '
# If DLT_USE_IPv6 flag is ON, then only IPv6 addresses are accepted
# If DLT_USE_IPv6 flag is OFF, then only IPv4 addresses are accepted
-# BindAddress = 160.48.199.97;160.48.199.98 \ No newline at end of file
+# BindAddress = 160.48.199.97;160.48.199.98