https://github.com/torvalds/linux
Revision c350f8bea271782e2733419bd2ab9bf4ec2051ef authored by Chen Zhou on 12 November 2020, 13:53:32 UTC, committed by Paul Moore on 13 November 2020, 01:16:09 UTC
Fix to return a negative error code from the error handling case
instead of 0 in function sel_ib_pkey_sid_slow(), as done elsewhere
in this function.

Cc: stable@vger.kernel.org
Fixes: 409dcf31538a ("selinux: Add a cache for quicker retreival of PKey SIDs")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Chen Zhou <chenzhou10@huawei.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
1 parent 0d50f05
History
Tip revision: c350f8bea271782e2733419bd2ab9bf4ec2051ef authored by Chen Zhou on 12 November 2020, 13:53:32 UTC
selinux: Fix error return code in sel_ib_pkey_sid_slow()
Tip revision: c350f8b

back to top