diff options
author | Elena Reshetova <[email protected]> | 2017-09-08 16:17:45 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2017-09-08 18:26:51 -0700 |
commit | 9405c03ee778cd3e353e55fff6e16dfdd9609c02 (patch) | |
tree | 197d334b72ecc283c04b3fd80fbf2d5021acc249 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f74370b86ec1e0ee8a56ba838efe78e21d8dba23 (diff) |
ipc: convert kern_ipc_perm.refcount from atomic_t to refcount_t
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.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Elena Reshetova <[email protected]>
Signed-off-by: Hans Liljestrand <[email protected]>
Signed-off-by: Kees Cook <[email protected]>
Signed-off-by: David Windsor <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: "Eric W. Biederman" <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Alexey Dobriyan <[email protected]>
Cc: Serge Hallyn <[email protected]>
Cc: <[email protected]>
Cc: Davidlohr Bueso <[email protected]>
Cc: Manfred Spraul <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions