From d29348f75d6b5ff0e50ef2b32b07dd3435d4cee5 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Mon, 6 Feb 2012 23:23:38 -0500 Subject: [PATCH] Allow open /proc/lttng for read & write Signed-off-by: Mathieu Desnoyers --- lttng-abi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lttng-abi.c b/lttng-abi.c index c4498954..98f03c3e 100644 --- a/lttng-abi.c +++ b/lttng-abi.c @@ -749,7 +749,7 @@ int __init lttng_abi_init(void) int ret = 0; wrapper_vmalloc_sync_all(); - lttng_proc_dentry = proc_create_data("lttng", S_IWUSR, NULL, + lttng_proc_dentry = proc_create_data("lttng", S_IRUSR | S_IWUSR, NULL, <tng_fops, NULL); if (!lttng_proc_dentry) { -- 2.34.1