Allow open /proc/lttng for read & write
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 7 Feb 2012 04:23:38 +0000 (23:23 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 7 Feb 2012 04:23:38 +0000 (23:23 -0500)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
lttng-abi.c

index c44989549ef64a217c6901153f08bd4734972ba3..98f03c3e4fbbd552f85d813ca020ca745596b552 100644 (file)
@@ -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,
                                        &lttng_fops, NULL);
        
        if (!lttng_proc_dentry) {
This page took 0.026939 seconds and 4 git commands to generate.