path: root/certs
diff options
authorElena Reshetova <>2017-03-31 15:20:49 +0300
committerJames Morris <>2017-04-03 10:49:06 +1000
commitddb99e118e37f324a4be65a411bb60ae62795cf9 (patch)
tree9fecb40084bb937fafa04eaf57d9bc4ae3bcb6a9 /certs
parentfff292914d3a2f1efd05ca71c2ba72a3c663201e (diff)
security, keys: convert key_user.usage 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 <> Signed-off-by: Hans Liljestrand <> Signed-off-by: Kees Cook <> Signed-off-by: David Windsor <> Acked-by: David Howells <> Signed-off-by: James Morris <>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions