[PATCH] sysctl: C99 convert ctl_tables in arch/x86_64/ia32/ia32_binfmt.c
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> Acked-by: Andi Kleen <ak@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
f3854517f3
commit
306421f387
1 changed files with 19 additions and 9 deletions
|
@ -344,16 +344,26 @@ EXPORT_SYMBOL(ia32_setup_arg_pages);
|
||||||
#include <linux/sysctl.h>
|
#include <linux/sysctl.h>
|
||||||
|
|
||||||
static ctl_table abi_table2[] = {
|
static ctl_table abi_table2[] = {
|
||||||
{ 99, "vsyscall32", &sysctl_vsyscall32, sizeof(int), 0644, NULL,
|
{
|
||||||
proc_dointvec },
|
.ctl_name = 99,
|
||||||
{ 0, }
|
.procname = "vsyscall32",
|
||||||
};
|
.data = &sysctl_vsyscall32,
|
||||||
|
.maxlen = sizeof(int),
|
||||||
|
.mode = 0644,
|
||||||
|
.proc_handler = proc_dointvec
|
||||||
|
},
|
||||||
|
{}
|
||||||
|
};
|
||||||
|
|
||||||
static ctl_table abi_root_table2[] = {
|
static ctl_table abi_root_table2[] = {
|
||||||
{ .ctl_name = CTL_ABI, .procname = "abi", .mode = 0555,
|
{
|
||||||
.child = abi_table2 },
|
.ctl_name = CTL_ABI,
|
||||||
{ 0 },
|
.procname = "abi",
|
||||||
};
|
.mode = 0555,
|
||||||
|
.child = abi_table2
|
||||||
|
},
|
||||||
|
{}
|
||||||
|
};
|
||||||
|
|
||||||
static __init int ia32_binfmt_init(void)
|
static __init int ia32_binfmt_init(void)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue