Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1274701
)
Branch b1_8_gate
author
bobijam
<bobijam>
Wed, 10 Sep 2008 02:52:14 +0000
(
02:52
+0000)
committer
bobijam
<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
patch
|
blob
|
history
diff --git
a/lustre/include/lprocfs_status.h
b/lustre/include/lprocfs_status.h
index
bbbb40b
..
ab7cea5
100644
(file)
--- a/
lustre/include/lprocfs_status.h
+++ b/
lustre/include/lprocfs_status.h
@@
-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 {