selinux: use consistent type for AV rule specifier
authorChristian Göttsche <cgzones@googlemail.com>
Thu, 6 Jul 2023 13:23:29 +0000 (15:23 +0200)
committerPaul Moore <paul@paul-moore.com>
Tue, 18 Jul 2023 22:29:49 +0000 (18:29 -0400)
commit7128578c79a73760305f89ff975047c124919dfc
tree579320630af28b9debd03cf7feee608aa4327ab2
parenta13479bb3c9d559fceb075986d8e0154a7eabbb1
selinux: use consistent type for AV rule specifier

The specifier for avtab keys is always supplied with a type of u16,
either as a macro to security_compute_sid() or the member specified of
the struct avtab_key.

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
security/selinux/ss/avtab.c
security/selinux/ss/avtab.h
security/selinux/ss/services.c