aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorJoe Thornber <[email protected]>2013-12-13 14:55:55 +0000
committerMike Snitzer <[email protected]>2013-12-13 19:22:10 +0000
commited9571f0cf1fe09d3506302610f3ccdfa1d22c4a (patch)
treeec013b939d466fbd06d3c62a5a0de5ca9e5a3ae1 /security/selinux/hooks.c
parentdm space map: disallow decrementing a reference count below zero (diff)
downloadkernel-ed9571f0cf1fe09d3506302610f3ccdfa1d22c4a.tar.gz
kernel-ed9571f0cf1fe09d3506302610f3ccdfa1d22c4a.zip
dm array: fix a reference counting bug in shadow_ablock
An old array block could have its reference count decremented below zero when it is being replaced in the btree by a new array block. The fix is to increment the old ablock's reference count just before inserting a new ablock into the btree. Signed-off-by: Joe Thornber <[email protected]> Signed-off-by: Mike Snitzer <[email protected]> Cc: [email protected] # 3.9+
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions