summaryrefslogtreecommitdiff
path: root/include/linux/sysctl.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-07-26 11:47:31 +0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-01-04 07:55:12 +0400
commit36fcb589e752fa9c71f8a447db94126d102fd937 (patch)
tree3ab8ff6c99e7f16915e48742d6c212a0cc7e2646 /include/linux/sysctl.h
parentdba19c6064766730dd64757a010ec3aec503ecdb (diff)
downloadlinux-36fcb589e752fa9c71f8a447db94126d102fd937.tar.xz
sysctl: use umode_t for table permissions
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/sysctl.h')
-rw-r--r--include/linux/sysctl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h
index 703cfa33a3ca..bb9127dd814b 100644
--- a/include/linux/sysctl.h
+++ b/include/linux/sysctl.h
@@ -1038,7 +1038,7 @@ struct ctl_table
const char *procname; /* Text ID for /proc/sys, or zero */
void *data;
int maxlen;
- mode_t mode;
+ umode_t mode;
struct ctl_table *child;
struct ctl_table *parent; /* Automatically set */
proc_handler *proc_handler; /* Callback for text formatting */