Re: [PATCH 14/15] kernel: convert futex_pi_state.refcount from atomic_t to refcount_t

From
Thomas Gleixner <hidden>
Date
2017-07-07 09:53:25
Also in
linux-fsdevel, lkml
Reply to
Peter Zijlstra, 2017-07-07
On Fri, 7 Jul 2017, Peter Zijlstra wrote:
On Fri, Jul 07, 2017 at 12:04:28PM +0300, Elena Reshetova wrote:
quoted
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 <redacted>
Signed-off-by: Kees Cook <redacted>
Signed-off-by: David Windsor <redacted>
I'll let tglx comment on the SoB chain, I know he likes those :-) You
did Cc him right, seeing how he's the maintainer of this stuff..
Right, that SOB chain is crap. It suggests that the patch was written by
Elena and then carried on by Hans, handed over to Kees and from there to
David. And now it's resent by Elena. Circular dependencies or what?

Thanks,

	tglx
Thread (27 messages) 27 messages, 5 authors, last reply 2017-07-07
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help