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 /kernel/sched.c | |
parent | dba19c6064766730dd64757a010ec3aec503ecdb (diff) |
sysctl: use umode_t for table permissions
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index d6b149ccf925..e64f45741e0e 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -6480,7 +6480,7 @@ static void sd_free_ctl_entry(struct ctl_table **tablep) | |||
6480 | static void | 6480 | static void |
6481 | set_table_entry(struct ctl_table *entry, | 6481 | set_table_entry(struct ctl_table *entry, |
6482 | const char *procname, void *data, int maxlen, | 6482 | const char *procname, void *data, int maxlen, |
6483 | mode_t mode, proc_handler *proc_handler) | 6483 | umode_t mode, proc_handler *proc_handler) |
6484 | { | 6484 | { |
6485 | entry->procname = procname; | 6485 | entry->procname = procname; |
6486 | entry->data = data; | 6486 | entry->data = data; |