aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sys.c
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2021-05-26 22:38:05 +0800
committerEric W. Biederman <ebiederm@xmission.com>2021-05-28 13:12:52 -0500
commit5e6b8a50a7cec5686ee2c4bda1d49899c79a7eae (patch)
tree118191578248a778d2f23ab17f7d3a6fe686cfd9 /kernel/sys.c
parentucounts: Silence warning in dec_rlimit_ucounts (diff)
downloadlinux-dev-5e6b8a50a7cec5686ee2c4bda1d49899c79a7eae.tar.xz
linux-dev-5e6b8a50a7cec5686ee2c4bda1d49899c79a7eae.zip
cred: add missing return error code when set_cred_ucounts() failed
If set_cred_ucounts() failed, we need return the error code. Fixes: 905ae01c4ae2 ("Add a reference to ucounts for each cred") Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Link: https://lkml.kernel.org/r/20210526143805.2549649-1-yangyingliang@huawei.com Reviewed-by: Alexey Gladkov <legion@kernel.org> Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'kernel/sys.c')
0 files changed, 0 insertions, 0 deletions