From: Alexey Dobriyan <adobriyan@sw.ru>
To: akpm@linux-foundation.org
Cc: linux-kernel@vger.kernel.org, ebiederm@xmission.com, ak@suse.de
Subject: Re: + sysctl-x86_64-remove-unnecessary-binary-paths.patch added to -mm tree
Date: Fri, 10 Aug 2007 11:44:59 +0400 [thread overview]
Message-ID: <20070810074459.GC6639@localhost.sw.ru> (raw)
In-Reply-To: <200708100142.l7A1g1ZZ029579@imap1.linux-foundation.org>
On Thu, Aug 09, 2007 at 06:42:01PM -0700, akpm@linux-foundation.org wrote:
> --- a/arch/x86_64/ia32/ia32_binfmt.c~sysctl-x86_64-remove-unnecessary-binary-paths
> +++ a/arch/x86_64/ia32/ia32_binfmt.c
> @@ -258,7 +258,6 @@ static void elf32_init(struct pt_regs *r
>
> static ctl_table abi_table2[] = {
> {
> - .ctl_name = 99,
> .procname = "vsyscall32",
> .data = &sysctl_vsyscall32,
> .maxlen = sizeof(int),
> diff -puN arch/x86_64/kernel/vsyscall.c~sysctl-x86_64-remove-unnecessary-binary-paths arch/x86_64/kernel/vsyscall.c
> --- a/arch/x86_64/kernel/vsyscall.c~sysctl-x86_64-remove-unnecessary-binary-paths
> +++ a/arch/x86_64/kernel/vsyscall.c
> @@ -260,18 +260,10 @@ out:
> 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 },
Looks good. It clearly newer worked.
parent reply other threads:[~2007-08-10 7:45 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <200708100142.l7A1g1ZZ029579@imap1.linux-foundation.org>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070810074459.GC6639@localhost.sw.ru \
--to=adobriyan@sw.ru \
--cc=ak@suse.de \
--cc=akpm@linux-foundation.org \
--cc=ebiederm@xmission.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox