summaryrefslogtreecommitdiffstats
path: root/runtime/transport/control.c
diff options
context:
space:
mode:
authorhunt <hunt>2007-06-18 20:34:19 +0000
committerhunt <hunt>2007-06-18 20:34:19 +0000
commit36928c68693750e24eef2216bc47952b88416008 (patch)
tree6bba2258cc68f6bce121ba4e0f49bf593c2a9b25 /runtime/transport/control.c
parentddba45156d238d9602ee20a728def4e485c0c9cf (diff)
downloadsystemtap-steved-36928c68693750e24eef2216bc47952b88416008.tar.gz
systemtap-steved-36928c68693750e24eef2216bc47952b88416008.tar.xz
systemtap-steved-36928c68693750e24eef2216bc47952b88416008.zip
2007-06-18 Martin Hunt <hunt@redhat.com>
* control.c (_stp_register_ctl_channel): Fix mode of cmd file.
Diffstat (limited to 'runtime/transport/control.c')
-rw-r--r--runtime/transport/control.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/transport/control.c b/runtime/transport/control.c
index dd927afd..04b79869 100644
--- a/runtime/transport/control.c
+++ b/runtime/transport/control.c
@@ -258,7 +258,7 @@ static int _stp_register_ctl_channel (void)
/* create [debugfs]/systemtap/module_name/cmd */
- _stp_cmd_file = debugfs_create_file("cmd", 0444, _stp_utt->dir, NULL, &_stp_ctl_fops_cmd);
+ _stp_cmd_file = debugfs_create_file("cmd", 0666, _stp_utt->dir, NULL, &_stp_ctl_fops_cmd);
if (_stp_cmd_file == NULL)
goto err0;
return 0;