summaryrefslogtreecommitdiffstats
path: root/kernel/jump_label.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2018-07-17 10:36:04 -0700
committerJames Morris <james.morris@microsoft.com>2018-07-17 21:27:06 -0700
commit87ea58433208d17295e200d56be5e2a4fe4ce7d6 (patch)
tree923d0e0a46960ca912f279e6c16bf758c6217d86 /kernel/jump_label.c
parent83a68a06795fa47e77ea758f293a5946e9e02e84 (diff)
downloadtalos-obmc-linux-87ea58433208d17295e200d56be5e2a4fe4ce7d6.tar.gz
talos-obmc-linux-87ea58433208d17295e200d56be5e2a4fe4ce7d6.zip
security: check for kstrdup() failure in lsm_append()
lsm_append() should return -ENOMEM if memory allocation failed. Fixes: d69dece5f5b6 ("LSM: Add /sys/kernel/security/lsm") Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: James Morris <james.morris@microsoft.com>
Diffstat (limited to 'kernel/jump_label.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud