android_kernel_motorola_sm6375/security/selinux
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Zhen Lei 374a0f8204 selinux: fix potential counting error in avc_add_xperms_decision()
commit 379d9af3f3da2da1bbfa67baf1820c72a080d1f1 upstream.

The count increases only when a node is successfully added to
the linked list.

Cc: stable@vger.kernel.org
Fixes: fa1aa143ac ("selinux: extended permissions for ioctls")
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Acked-by: Stephen Smalley <stephen.smalley.work@gmail.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-09-04 13:14:50 +02:00
..
include
ss selinux: Add boundary check in put_entry() 2022-08-25 11:17:32 +02:00
.gitignore
avc.c selinux: fix potential counting error in avc_add_xperms_decision() 2024-09-04 13:14:50 +02:00
hooks.c lsm: new security_file_ioctl_compat() hook 2024-02-23 08:25:15 +01:00
ibpkey.c
Kconfig
Makefile selinux: don't use make's grouped targets feature yet 2023-06-09 10:29:02 +02:00
netif.c
netlabel.c
netlink.c
netnode.c
netport.c
nlmsgtab.c
selinuxfs.c
xfrm.c selinux: use correct type for context length 2022-04-15 14:18:22 +02:00