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/procfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/transport/procfs.c') diff --git a/runtime/transport/procfs.c b/runtime/transport/procfs.c index a7b4cee5..c6e3f46a 100644 --- a/runtime/transport/procfs.c +++ b/runtime/transport/procfs.c @@ -393,7 +393,7 @@ static int _stp_register_ctl_channel (void) #endif /* STP_BULKMODE */ /* finally create /proc/systemtap/module_name/cmd */ - de = create_proc_entry ("cmd", S_IFREG|S_IRUSR, _stp_proc_mod); + de = create_proc_entry ("cmd", S_IFREG|S_IRUSR|S_IWUSR, _stp_proc_mod); if (de == NULL) goto err1; de->proc_fops = &_stp_proc_fops_cmd; -- cgit