diff options
| author | Christian Göttsche <cgzones@googlemail.com> | 2025-05-11 19:30:09 +0200 |
|---|---|---|
| committer | Paul Moore <paul@paul-moore.com> | 2026-05-06 19:43:20 -0400 |
| commit | 7edea6e8c8e8944e060da6b0b81d66db8d5fffcc (patch) | |
| tree | cbb3632ac6089e2449a4ca8db0d401bb6d480070 /include/linux | |
| parent | ecf41f6218b58c72f1511e395e480f70a9f44889 (diff) | |
selinux: beef up isvalid checks
Check that an ID does not refer to a gap in the global array of
definitions.
Constify parameters of isvalid() function and change return type to
bool.
Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
Acked-by: Stephen Smalley <stephen.smalley.work@gmail.com>
[PM: merge fixes, dropped boolean checks due to missing dependency]
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
