Re: [PATCH v4 2/3] mm/page_alloc.c: add config option to sanitize freed pages

2015-05-20 Thread Anisse Astier
On Tue, May 19, 2015 at 3:58 AM, yalin wang wrote: > 2015-05-18 21:04 GMT+08:00 Anisse Astier : >> On Mon, May 18, 2015 at 3:02 PM, Pavel Machek wrote: >>> >>> Ok. So there is class of errors where this helps, but you are not >>> aware of any such errors in kernel, so you can't fix them...

Re: [PATCH v4 2/3] mm/page_alloc.c: add config option to sanitize freed pages

2015-05-20 Thread Anisse Astier
On Tue, May 19, 2015 at 3:58 AM, yalin wang yalin.wang2...@gmail.com wrote: 2015-05-18 21:04 GMT+08:00 Anisse Astier ani...@astier.eu: On Mon, May 18, 2015 at 3:02 PM, Pavel Machek pa...@ucw.cz wrote: Ok. So there is class of errors where this helps, but you are not aware of any such errors

Re: [PATCH v4 2/3] mm/page_alloc.c: add config option to sanitize freed pages

2015-05-18 Thread yalin wang
2015-05-18 21:04 GMT+08:00 Anisse Astier : > On Mon, May 18, 2015 at 3:02 PM, Pavel Machek wrote: >> >> Ok. So there is class of errors where this helps, but you are not >> aware of any such errors in kernel, so you can't fix them... Right? > > Correct. > -- > To unsubscribe from this list: send

Re: [PATCH v4 2/3] mm/page_alloc.c: add config option to sanitize freed pages

2015-05-18 Thread Anisse Astier
On Mon, May 18, 2015 at 3:02 PM, Pavel Machek wrote: > > Ok. So there is class of errors where this helps, but you are not > aware of any such errors in kernel, so you can't fix them... Right? Correct. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: [PATCH v4 2/3] mm/page_alloc.c: add config option to sanitize freed pages

2015-05-18 Thread Pavel Machek
On Mon 2015-05-18 14:41:19, Anisse Astier wrote: > On Mon, May 18, 2015 at 1:21 PM, Pavel Machek wrote: > > On Thu 2015-05-14 16:19:47, Anisse Astier wrote: > >> This new config option will sanitize all freed pages. This is a pretty > >> low-level change useful to track some cases of

Re: [PATCH v4 2/3] mm/page_alloc.c: add config option to sanitize freed pages

2015-05-18 Thread Anisse Astier
On Mon, May 18, 2015 at 1:21 PM, Pavel Machek wrote: > On Thu 2015-05-14 16:19:47, Anisse Astier wrote: >> This new config option will sanitize all freed pages. This is a pretty >> low-level change useful to track some cases of use-after-free, help >> kernel same-page merging in VM environments,

Re: [PATCH v4 2/3] mm/page_alloc.c: add config option to sanitize freed pages

2015-05-18 Thread Pavel Machek
On Thu 2015-05-14 16:19:47, Anisse Astier wrote: > This new config option will sanitize all freed pages. This is a pretty > low-level change useful to track some cases of use-after-free, help > kernel same-page merging in VM environments, and counter a few info > leaks. Could you document the

Re: [PATCH v4 2/3] mm/page_alloc.c: add config option to sanitize freed pages

2015-05-18 Thread Anisse Astier
On Mon, May 18, 2015 at 1:21 PM, Pavel Machek pa...@ucw.cz wrote: On Thu 2015-05-14 16:19:47, Anisse Astier wrote: This new config option will sanitize all freed pages. This is a pretty low-level change useful to track some cases of use-after-free, help kernel same-page merging in VM

Re: [PATCH v4 2/3] mm/page_alloc.c: add config option to sanitize freed pages

2015-05-18 Thread Pavel Machek
On Mon 2015-05-18 14:41:19, Anisse Astier wrote: On Mon, May 18, 2015 at 1:21 PM, Pavel Machek pa...@ucw.cz wrote: On Thu 2015-05-14 16:19:47, Anisse Astier wrote: This new config option will sanitize all freed pages. This is a pretty low-level change useful to track some cases of

Re: [PATCH v4 2/3] mm/page_alloc.c: add config option to sanitize freed pages

2015-05-18 Thread Anisse Astier
On Mon, May 18, 2015 at 3:02 PM, Pavel Machek pa...@ucw.cz wrote: Ok. So there is class of errors where this helps, but you are not aware of any such errors in kernel, so you can't fix them... Right? Correct. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re: [PATCH v4 2/3] mm/page_alloc.c: add config option to sanitize freed pages

2015-05-18 Thread yalin wang
2015-05-18 21:04 GMT+08:00 Anisse Astier ani...@astier.eu: On Mon, May 18, 2015 at 3:02 PM, Pavel Machek pa...@ucw.cz wrote: Ok. So there is class of errors where this helps, but you are not aware of any such errors in kernel, so you can't fix them... Right? Correct. -- To unsubscribe from

Re: [PATCH v4 2/3] mm/page_alloc.c: add config option to sanitize freed pages

2015-05-18 Thread Pavel Machek
On Thu 2015-05-14 16:19:47, Anisse Astier wrote: This new config option will sanitize all freed pages. This is a pretty low-level change useful to track some cases of use-after-free, help kernel same-page merging in VM environments, and counter a few info leaks. Could you document the few

[PATCH v4 2/3] mm/page_alloc.c: add config option to sanitize freed pages

2015-05-14 Thread Anisse Astier
This new config option will sanitize all freed pages. This is a pretty low-level change useful to track some cases of use-after-free, help kernel same-page merging in VM environments, and counter a few info leaks. Signed-off-by: Anisse Astier --- mm/Kconfig | 12

[PATCH v4 2/3] mm/page_alloc.c: add config option to sanitize freed pages

2015-05-14 Thread Anisse Astier
This new config option will sanitize all freed pages. This is a pretty low-level change useful to track some cases of use-after-free, help kernel same-page merging in VM environments, and counter a few info leaks. Signed-off-by: Anisse Astier ani...@astier.eu --- mm/Kconfig | 12