aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/sancov_plugin.c
diff options
context:
space:
mode:
authorElena Reshetova <[email protected]>2017-02-20 11:06:21 +0000
committerRadim Krčmář <[email protected]>2017-03-01 16:03:21 +0000
commite3736c3eb3a6f7c0966923b629c9f92b558aa9c7 (patch)
tree850c343552afe4d498411ba1e767aff4b43f0163 /scripts/gcc-plugins/sancov_plugin.c
parentKVM: x86: never specify a sample period for virtualized in_tx_cp counters (diff)
downloadkernel-e3736c3eb3a6f7c0966923b629c9f92b558aa9c7.tar.gz
kernel-e3736c3eb3a6f7c0966923b629c9f92b558aa9c7.zip
kvm: convert kvm.users_count 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. 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]> Signed-off-by: Radim Krčmář <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions