projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
x86: remove VISWS and PARAVIRT around NR_IRQS puzzle
[deliverable/linux.git]
/
kernel
/
utsname_sysctl.c
diff --git
a/kernel/utsname_sysctl.c
b/kernel/utsname_sysctl.c
index 4ab9659d269e23bc315729f840b8742b5876e1ff..3b34b3545936dfcd179eca7f9fd2aebf4a2abfa0 100644
(file)
--- a/
kernel/utsname_sysctl.c
+++ b/
kernel/utsname_sysctl.c
@@
-60,7
+60,7
@@
static int proc_do_uts_string(ctl_table *table, int write, struct file *filp,
#ifdef CONFIG_SYSCTL_SYSCALL
/* The generic string strategy routine: */
#ifdef CONFIG_SYSCTL_SYSCALL
/* The generic string strategy routine: */
-static int sysctl_uts_string(ctl_table *table,
int __user *name, int nlen,
+static int sysctl_uts_string(ctl_table *table,
void __user *oldval, size_t __user *oldlenp,
void __user *newval, size_t newlen)
{
void __user *oldval, size_t __user *oldlenp,
void __user *newval, size_t newlen)
{
@@
-69,8
+69,7
@@
static int sysctl_uts_string(ctl_table *table, int __user *name, int nlen,
write = newval && newlen;
memcpy(&uts_table, table, sizeof(uts_table));
uts_table.data = get_uts(table, write);
write = newval && newlen;
memcpy(&uts_table, table, sizeof(uts_table));
uts_table.data = get_uts(table, write);
- r = sysctl_string(&uts_table, name, nlen,
- oldval, oldlenp, newval, newlen);
+ r = sysctl_string(&uts_table, oldval, oldlenp, newval, newlen);
put_uts(table, write, uts_table.data);
return r;
}
put_uts(table, write, uts_table.data);
return r;
}
This page took
0.073178 seconds
and
5
git commands to generate.