diff options
author | Jiri Popek <jiri.popek@gmail.com> | 2019-07-25 13:35:11 +0200 |
---|---|---|
committer | Saya Sugiura <39760799+ssugiura@users.noreply.github.com> | 2019-07-25 20:35:11 +0900 |
commit | 618920f01b65dfeffe76092057998808163ccb11 (patch) | |
tree | c7f1ca141360046ef66557bb34c127220cf67a9e /src/daemon/dlt-daemon.h | |
parent | e8716cc5c950e50411b23a7a6cafa3c063c59e90 (diff) | |
download | DLT-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-daemon.h')
-rw-r--r-- | src/daemon/dlt-daemon.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/daemon/dlt-daemon.h b/src/daemon/dlt-daemon.h index 6c87335..3d35335 100644 --- a/src/daemon/dlt-daemon.h +++ b/src/daemon/dlt-daemon.h @@ -123,7 +123,8 @@ typedef struct char userPipesDir[DLT_PATH_MAX]; /**< (String: Directory) directory where dltpipes reside (Default: /tmp/dltpipes) */ #endif char daemonFifoName[DLT_PATH_MAX]; /**< (String: Filename) name of local fifo (Default: /tmp/dlt) */ - unsigned int port; /**< port number */ + char daemonFifoGroup[DLT_PATH_MAX]; /**< (String: Group name) Owner group of local fifo (Default: Primary Group) */ + unsigned int port; /**< port number */ char ctrlSockPath[DLT_DAEMON_FLAG_MAX]; /**< Path to Control socket */ int gatewayMode; /**< (Boolean) Gateway Mode */ char gatewayConfigFile[DLT_DAEMON_FLAG_MAX]; /**< Gateway config file path */ |