From: Mathieu Desnoyers Date: Tue, 7 Feb 2012 04:23:38 +0000 (-0500) Subject: Allow open /proc/lttng for read & write X-Git-Tag: v2.0-pre13~3 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=d29348f75d6b5ff0e50ef2b32b07dd3435d4cee5;p=lttng-modules.git Allow open /proc/lttng for read & write Signed-off-by: Mathieu Desnoyers --- 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) {