Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1439462

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

From Christoph Lameter <cl@linux.com>
Newsgroups linux.kernel
Subject Re: [kernel-hardening] Re: [PATCH 9/9] mm: SLUB hardened usercopy support
Date 2016-07-08 15:50 +0200
Message-ID <rSEki-5sf-9@gated-at.bofh.it> (permalink)
References <rSEki-5sf-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, 8 Jul 2016, Michael Ellerman wrote:

> > 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.

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: [kernel-hardening] Re: [PATCH 9/9] mm: SLUB hardened usercopy  support Christoph Lameter <cl@linux.com> - 2016-07-08 15:50 +0200
  Re: [kernel-hardening] Re: [PATCH 9/9] mm: SLUB hardened usercopy support Kees Cook <keescook@chromium.org> - 2016-07-08 18:10 +0200
    Re: [kernel-hardening] Re: [PATCH 9/9] mm: SLUB hardened usercopy  support Christoph Lameter <cl@linux.com> - 2016-07-08 18:30 +0200
      Re: [kernel-hardening] Re: [PATCH 9/9] mm: SLUB hardened usercopy support Kees Cook <keescook@chromium.org> - 2016-07-08 19:50 +0200
        Re: [kernel-hardening] Re: [PATCH 9/9] mm: SLUB hardened usercopy support Kees Cook <keescook@chromium.org> - 2016-07-08 22:50 +0200
          Re: [kernel-hardening] Re: [PATCH 9/9] mm: SLUB hardened usercopy support Valdis.Kletnieks@vt.edu - 2016-07-09 08:20 +0200
            Re: [kernel-hardening] Re: [PATCH 9/9] mm: SLUB hardened usercopy support Kees Cook <keescook@chromium.org> - 2016-07-09 19:10 +0200

csiph-web