security: check for kstrdup() failure in lsm_append()
lsm_append() should return -ENOMEM if memory allocation failed. Fixes: d69dece5 ("LSM: Add /sys/kernel/security/lsm") Signed-off-by: NEric Biggers <ebiggers@google.com> Signed-off-by: NJames Morris <james.morris@microsoft.com>
Showing
想要评论请 注册 或 登录