summaryrefslogtreecommitdiffstats
path: root/security/selinux/ss/services.c
diff options
context:
space:
mode:
authorMimi Zohar <zohar@linux.vnet.ibm.com>2016-01-07 07:46:36 -0500
committerMimi Zohar <zohar@linux.vnet.ibm.com>2016-01-07 12:56:42 -0500
commit1d6d167c2efcfe9539d9cffb1a1be9c92e39c2c0 (patch)
treef875b8a19d539701b31ea4ffce40eee77c701103 /security/selinux/ss/services.c
parent6427e6c71c8b374761b661c4f355762794c171a1 (diff)
downloadlinux-1d6d167c2efcfe9539d9cffb1a1be9c92e39c2c0.tar.gz
linux-1d6d167c2efcfe9539d9cffb1a1be9c92e39c2c0.tar.bz2
linux-1d6d167c2efcfe9539d9cffb1a1be9c92e39c2c0.zip
KEYS: refcount bug fix
This patch fixes the key_ref leak, removes the unnecessary KEY_FLAG_KEEP test before setting the flag, and cleans up the if/then brackets style introduced in commit: d3600bc KEYS: prevent keys from being removed from specified keyrings Reported-by: David Howells <dhowells@redhat.com> Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com> Acked-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'security/selinux/ss/services.c')
0 files changed, 0 insertions, 0 deletions