Whamcloud - gitweb
Branch b1_8_gate
authorbobijam <bobijam>
Wed, 10 Sep 2008 02:52:14 +0000 (02:52 +0000)
committerbobijam <bobijam>
Wed, 10 Sep 2008 02:52:14 +0000 (02:52 +0000)
b=16643
o=Herb Wartens (hwartens@llnl.gov)
i=adilger
i=johann

Description: Generic /proc file permissions
Details    : Set /Proc file permissions in a more generic way to enable non-
             root users operate on some /proc files.

lustre/include/lprocfs_status.h

index bbbb40b..ab7cea5 100644 (file)
@@ -64,6 +64,10 @@ struct lprocfs_vars {
         cfs_write_proc_t *write_fptr;
         void *data;
         struct file_operations *fops;
+        /**
+         * /proc file mode.
+         */
+        mode_t proc_mode;
 };
 
 struct lprocfs_static_vars {