From 24374413e181f47ce4c1330e4b64634c985d23a0 Mon Sep 17 00:00:00 2001 From: hunt Date: Mon, 18 Jun 2007 21:01:11 +0000 Subject: Fix mode in procfs cmd file. --- runtime/transport/control.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/transport/control.c') diff --git a/runtime/transport/control.c b/runtime/transport/control.c index 04b79869..7b14901e 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", 0666, _stp_utt->dir, NULL, &_stp_ctl_fops_cmd); + _stp_cmd_file = debugfs_create_file("cmd", 0600, _stp_utt->dir, NULL, &_stp_ctl_fops_cmd); if (_stp_cmd_file == NULL) goto err0; return 0; -- cgit