diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-07-26 03:47:31 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-03 22:55:12 -0500 |
commit | 36fcb589e752fa9c71f8a447db94126d102fd937 (patch) | |
tree | 3ab8ff6c99e7f16915e48742d6c212a0cc7e2646 /include | |
parent | dba19c6064766730dd64757a010ec3aec503ecdb (diff) |
sysctl: use umode_t for table permissions
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/sysctl.h | 2 |
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 | |||
1038 | const char *procname; /* Text ID for /proc/sys, or zero */ | 1038 | const char *procname; /* Text ID for /proc/sys, or zero */ |
1039 | void *data; | 1039 | void *data; |
1040 | int maxlen; | 1040 | int maxlen; |
1041 | mode_t mode; | 1041 | umode_t mode; |
1042 | struct ctl_table *child; | 1042 | struct ctl_table *child; |
1043 | struct ctl_table *parent; /* Automatically set */ | 1043 | struct ctl_table *parent; /* Automatically set */ |
1044 | proc_handler *proc_handler; /* Callback for text formatting */ | 1044 | proc_handler *proc_handler; /* Callback for text formatting */ |