diff options
author | Xiu Jianfeng <xiujianfeng@huawei.com> | 2021-07-29 11:16:44 +0800 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2021-08-02 09:59:50 -0400 |
commit | 4c156084daa8ee70978e4b150b5eb5fc7b1f15be (patch) | |
tree | e7a0283d4a1857d1558e614f1bb9794a44e7c63f /security/apparmor | |
parent | selinux: kill 'flags' argument in avc_has_perm_flags() and avc_audit() (diff) | |
download | linux-dev-4c156084daa8ee70978e4b150b5eb5fc7b1f15be.tar.xz linux-dev-4c156084daa8ee70978e4b150b5eb5fc7b1f15be.zip |
selinux: correct the return value when loads initial sids
It should not return 0 when SID 0 is assigned to isids.
This patch fixes it.
Cc: stable@vger.kernel.org
Fixes: e3e0b582c321a ("selinux: remove unused initial SIDs and improve handling")
Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com>
[PM: remove changelog from description]
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security/apparmor')
0 files changed, 0 insertions, 0 deletions