diff options
author | Jaihind Yadav <[email protected]> | 2019-12-17 17:25:47 +0530 |
---|---|---|
committer | Paul Moore <[email protected]> | 2019-12-21 10:59:21 -0500 |
commit | 030b995ad9ece9fa2d218af4429c1c78c2342096 (patch) | |
tree | 1c016af4c1ac6e03442fd29e613240450e3871cf /security/selinux/hooks.c | |
parent | 5c108d4e18f80be01965792726c81b105fbd677a (diff) |
selinux: ensure we cleanup the internal AVC counters on error in avc_update()
In AVC update we don't call avc_node_kill() when avc_xperms_populate()
fails, resulting in the avc->avc_cache.active_nodes counter having a
false value. In last patch this changes was missed , so correcting it.
Fixes: fa1aa143ac4a ("selinux: extended permissions for ioctls")
Signed-off-by: Jaihind Yadav <[email protected]>
Signed-off-by: Ravi Kumar Siddojigari <[email protected]>
[PM: merge fuzz, minor description cleanup]
Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions