From 36928c68693750e24eef2216bc47952b88416008 Mon Sep 17 00:00:00 2001 From: hunt Date: Mon, 18 Jun 2007 20:34:19 +0000 Subject: 2007-06-18 Martin Hunt * control.c (_stp_register_ctl_channel): Fix mode of cmd file. --- runtime/transport/ChangeLog | 4 ++++ runtime/transport/control.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'runtime') diff --git a/runtime/transport/ChangeLog b/runtime/transport/ChangeLog index 41b3fa41..61d42908 100644 --- a/runtime/transport/ChangeLog +++ b/runtime/transport/ChangeLog @@ -1,3 +1,7 @@ +2007-06-18 Martin Hunt + + * control.c (_stp_register_ctl_channel): Fix mode of cmd file. + 2007-05-16 Will Cohen * control.c: Explicit type cast for picky compilers. 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; -- cgit