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


Groups > linux.kernel > #1683104

RE: [PATCH 06/15] kernel: convert perf_event_context.refcount from atomic_t to refcount_t

From "Reshetova, Elena" <elena.reshetova@intel.com>
Newsgroups linux.kernel
Subject RE: [PATCH 06/15] kernel: convert perf_event_context.refcount from atomic_t to refcount_t
Date 2017-07-07 12:20 +0200
Message-ID <u0ywF-2Ar-1@gated-at.bofh.it> (permalink)
References <u0xqW-1Re-3@gated-at.bofh.it> <u0xqY-1Re-25@gated-at.bofh.it> <u0xKi-20Z-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


 Subject: Re: [PATCH 06/15] kernel: convert perf_event_context.refcount from
> atomic_t to refcount_t
> 
> On Fri, Jul 07, 2017 at 12:04:20PM +0300, Elena Reshetova wrote:
> > refcount_t type and corresponding API should be
> > used instead of atomic_t when the variable is used as
> > a reference counter. This allows to avoid accidental
> > refcounter overflows that might lead to use-after-free
> > situations.
> >
> > Signed-off-by: Elena Reshetova <elena.reshetova@intel.com>
> > Signed-off-by: Hans Liljestrand <ishkamiel@gmail.com>
> > Signed-off-by: Kees Cook <keescook@chromium.org>
> > Signed-off-by: David Windsor <dwindsor@gmail.com>
> 
> That's an invalid SoB chain.. can't do anything with these patches.

OK, will fix. 

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


Thread

[PATCH 06/15] kernel: convert perf_event_context.refcount from atomic_t to refcount_t Elena Reshetova <elena.reshetova@intel.com> - 2017-07-07 11:10 +0200
  Re: [PATCH 06/15] kernel: convert perf_event_context.refcount from  atomic_t to refcount_t Peter Zijlstra <peterz@infradead.org> - 2017-07-07 11:30 +0200
    RE: [PATCH 06/15] kernel: convert perf_event_context.refcount from  atomic_t to refcount_t "Reshetova, Elena" <elena.reshetova@intel.com> - 2017-07-07 12:20 +0200

csiph-web