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


Groups > linux.kernel > #1593678 > unrolled thread

Re: [PATCH 11/19] kernel: convert cgroup_namespace.count from atomic_t to refcount_t

Started byTejun Heo <tj@kernel.org>
First post2017-03-06 21:00 +0100
Last post2017-03-06 21:00 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH 11/19] kernel: convert cgroup_namespace.count from  atomic_t to refcount_t Tejun Heo <tj@kernel.org> - 2017-03-06 21:00 +0100

#1593678 — Re: [PATCH 11/19] kernel: convert cgroup_namespace.count from atomic_t to refcount_t

FromTejun Heo <tj@kernel.org>
Date2017-03-06 21:00 +0100
SubjectRe: [PATCH 11/19] kernel: convert cgroup_namespace.count from atomic_t to refcount_t
Message-ID<ti6Xw-4vE-13@gated-at.bofh.it>
On Mon, Feb 20, 2017 at 12:19:00PM +0200, 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>

Applied to cgroup/for-4.12.

Thanks.

-- 
tejun

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web