Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 71150
b: refs/heads/master
c: 282a821
h: refs/heads/master
v: v3
  • Loading branch information
Eric W. Biederman authored and Linus Torvalds committed Oct 18, 2007
1 parent 4df6e69 commit 8cdc67a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: baa3a2a0d24ebcf1c451bec8e5bee3d3467f4cbb
refs/heads/master: 282a821f18fe848db860e911fa5e1f6a3603dd80
1 change: 0 additions & 1 deletion trunk/arch/x86/ia32/ia32_binfmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,6 @@ static void elf32_init(struct pt_regs *regs)

static ctl_table abi_table2[] = {
{
.ctl_name = 99,
.procname = "vsyscall32",
.data = &sysctl_vsyscall32,
.maxlen = sizeof(int),
Expand Down
10 changes: 1 addition & 9 deletions trunk/arch/x86/kernel/vsyscall_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -266,18 +266,10 @@ static int vsyscall_sysctl_change(ctl_table *ctl, int write, struct file * filp,
return ret;
}

static int vsyscall_sysctl_nostrat(ctl_table *t, int __user *name, int nlen,
void __user *oldval, size_t __user *oldlenp,
void __user *newval, size_t newlen)
{
return -ENOSYS;
}

static ctl_table kernel_table2[] = {
{ .ctl_name = 99, .procname = "vsyscall64",
{ .procname = "vsyscall64",
.data = &vsyscall_gtod_data.sysctl_enabled, .maxlen = sizeof(int),
.mode = 0644,
.strategy = vsyscall_sysctl_nostrat,
.proc_handler = vsyscall_sysctl_change },
{}
};
Expand Down

0 comments on commit 8cdc67a

Please sign in to comment.