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 13:46:07
Also in: linux-arch, linux-mm, lkml, sparclinux

On Fri, 8 Jul 2016, Michael Ellerman wrote:
quoted
I wonder if this code should be using size_from_object() instead of s->size?
Hmm, not sure. Who's SLUB maintainer? :)
Me.

s->size is the size of the whole object including debugging info etc.
ksize() gives you the actual usable size of an object.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help