aboutsummaryrefslogtreecommitdiffstats
path: root/security/security.c
diff options
context:
space:
mode:
authorXiu Jianfeng <xiujianfeng@huawei.com>2021-07-29 11:16:44 +0800
committerPaul Moore <paul@paul-moore.com>2021-08-02 09:59:50 -0400
commit4c156084daa8ee70978e4b150b5eb5fc7b1f15be (patch)
treee7a0283d4a1857d1558e614f1bb9794a44e7c63f /security/security.c
parentselinux: kill 'flags' argument in avc_has_perm_flags() and avc_audit() (diff)
downloadlinux-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/security.c')
0 files changed, 0 insertions, 0 deletions