All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: PTRACE_SYSCALL && vsyscall (Was: arch_check_bp_in_kernelspace: fix the range check)
@ 2013-01-14 16:01 Oleg Nesterov
  2013-02-18  1:39 ` prctl(PR_SET_MM) Amnon Shiloh
  0 siblings, 1 reply; 20+ messages in thread
From: Oleg Nesterov @ 2013-01-14 16:01 UTC (permalink / raw)
  To: u3557
  Cc: Pedro Alves, Denys Vlasenko, Jan Kratochvil, Cyrill Gorcunov,
	Pavel Emelyanov, Steven Rostedt, Frederic Weisbecker,
	Ingo Molnar, Peter Zijlstra, linux-kernel

On 01/14, u3557@miso.sublimeip.com wrote:
>
> So here again is the patch that I need so badly - clearly it fixes a bug
> and harms nobody:
>
> -----------------------------------------------------------------------
> diff -Naur before/arch/x86/kernel/hw_breakpoint.c
> after/arch/x86/kernel/hw_breakpoint.c
> --- before/arch/x86/kernel/hw_breakpoint.c	2013-01-14 12:45:20.000000000
> +1030
> +++ after/arch/x86/kernel/hw_breakpoint.c	2013-01-14 12:46:24.000000000 +1030
> @@ -200,7 +200,8 @@
>  	va = info->address;
>  	len = get_hbp_len(info->len);
> 
> -	return (va >= TASK_SIZE) && ((va + len - 1) >= TASK_SIZE);
> +	return (va >= TASK_SIZE) && ((va + len - 1) >= TASK_SIZE) &&
> +		!((va >= VSYSCALL_START) && ((va + len - 1) <= VSYSCALL_END));
>  }

I meant this one: http://marc.info/?l=linux-kernel&m=135336050319266
on top of http://marc.info/?l=linux-kernel&m=135248575426474

But nobody bothers to take even the trivial bugfix I sent ;)

Oleg.


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2013-02-24  6:28 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20130222142603.987c6e3c.akpm@linux-foundation.org>
2013-02-24  6:24 ` prctl(PR_SET_MM) Amnon Shiloh
2013-02-24  6:28 ` prctl(PR_SET_MM) Amnon Shiloh
2013-01-14 16:01 PTRACE_SYSCALL && vsyscall (Was: arch_check_bp_in_kernelspace: fix the range check) Oleg Nesterov
2013-02-18  1:39 ` prctl(PR_SET_MM) Amnon Shiloh
2013-02-18  5:44   ` prctl(PR_SET_MM) Randy Dunlap
2013-02-18 15:21   ` prctl(PR_SET_MM) Steven Rostedt
2013-02-18 16:33     ` prctl(PR_SET_MM) Amnon Shiloh
2013-02-18 19:49       ` prctl(PR_SET_MM) Steven Rostedt
2013-02-19  6:25         ` prctl(PR_SET_MM) Amnon Shiloh
2013-02-20  8:39           ` prctl(PR_SET_MM) Cyrill Gorcunov
2013-02-20  9:38             ` prctl(PR_SET_MM) Amnon Shiloh
2013-02-20 10:51               ` prctl(PR_SET_MM) Cyrill Gorcunov
2013-02-20 11:16                 ` prctl(PR_SET_MM) Amnon Shiloh
2013-02-21  7:46                 ` prctl(PR_SET_MM) Amnon Shiloh
2013-02-21  8:00                   ` prctl(PR_SET_MM) Cyrill Gorcunov
2013-02-21  8:03                     ` prctl(PR_SET_MM) Amnon Shiloh
2013-02-21  8:09                       ` prctl(PR_SET_MM) Cyrill Gorcunov
2013-02-21 22:18                     ` prctl(PR_SET_MM) Andrew Morton
2013-02-21 22:42                       ` prctl(PR_SET_MM) Cyrill Gorcunov
2013-02-22  1:18                       ` prctl(PR_SET_MM) Amnon Shiloh
2013-02-22 14:23           ` prctl(PR_SET_MM) Denys Vlasenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.