kernel_samsung_a53x/security/selinux/ss
Thiébaud Weksteen a9949f4bc9 selinux: ignore unknown extended permissions
commit 900f83cf376bdaf798b6f5dcb2eae0c822e908b6 upstream.

When evaluating extended permissions, ignore unknown permissions instead
of calling BUG(). This commit ensures that future permissions can be
added without interfering with older kernels.

Cc: stable@vger.kernel.org
Fixes: fa1aa143ac4a ("selinux: extended permissions for ioctls")
Signed-off-by: Thiébaud Weksteen <tweek@google.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Acked-by: Paul Moore <paul@paul-moore.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-01-15 16:29:52 +01:00
..
avtab.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
avtab.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
conditional.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
conditional.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
constraint.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
context.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
context.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ebitmap.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ebitmap.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hashtab.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hashtab.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mls.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mls.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mls_types.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
policydb.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
policydb.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
services.c selinux: ignore unknown extended permissions 2025-01-15 16:29:52 +01:00
services.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sidtab.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sidtab.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
symtab.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
symtab.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00