diff options
| author | Paul Moore <[email protected]> | 2019-12-10 01:39:46 +0000 |
|---|---|---|
| committer | Paul Moore <[email protected]> | 2019-12-10 19:16:53 +0000 |
| commit | d8db60cb23e49a92cf8cada3297395c7fa50fdf8 (patch) | |
| tree | c35db44612802989e1e84f6ff69c414d6bc858e1 /security/selinux/netnode.c | |
| parent | security: only build lsm_audit if CONFIG_SECURITY=y (diff) | |
| download | kernel-d8db60cb23e49a92cf8cada3297395c7fa50fdf8.tar.gz kernel-d8db60cb23e49a92cf8cada3297395c7fa50fdf8.zip | |
selinux: ensure we cleanup the internal AVC counters on error in avc_insert()
Fix avc_insert() to call avc_node_kill() if we've already allocated
an AVC node and the code fails to insert the node in the cache.
Fixes: fa1aa143ac4a ("selinux: extended permissions for ioctls")
Reported-by: [email protected]
Suggested-by: Stephen Smalley <[email protected]>
Acked-by: Stephen Smalley <[email protected]>
Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'security/selinux/netnode.c')
0 files changed, 0 insertions, 0 deletions
