Thread (10 messages) flat view 10 messages, 4 authors, 2016-07-11

Re: [kernel-hardening] Re: [PATCH 9/9] mm: SLUB hardened usercopy support

From: Christoph Lameter <hidden>
Date: 2016-07-08 16:21:05
Also in: linux-arch, linux-mm, lkml, sparclinux

On Fri, 8 Jul 2016, Kees Cook wrote:
Is check_valid_pointer() making sure the pointer is within the usable
size? It seemed like it was checking that it was within the slub
object (checks against s->size, wants it above base after moving
pointer to include redzone, etc).
check_valid_pointer verifies that a pointer is pointing to the start of an
object. It is used to verify the internal points that SLUB used and
should not be modified to do anything different.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help