linux/security/selinux/ss
Christian Göttsche df9d474925 selinux: avoid implicit conversions in avtab code
Return u32 from avtab_hash() instead of int, since the hashing is done
on u32 and the result is used as an index on the hash array.

Use the type of the limit in for loops.

Avoid signed to unsigned conversion of multiplication result in
avtab_hash_eval() and perform multiplication in destination type.

Use unsigned loop iterator for index operations, to avoid sign
extension.

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
2023-08-09 19:07:47 -04:00
..
avtab.c selinux: avoid implicit conversions in avtab code 2023-08-09 19:07:47 -04:00
avtab.h selinux: move debug functions into debug configuration 2023-07-28 14:09:24 -04:00
conditional.c selinux: drop avtab_search() 2023-07-19 11:04:28 -04:00
conditional.h selinux: avoid bool as identifier name 2023-06-05 17:04:01 -04:00
constraint.h selinux: update my email address 2023-07-19 11:27:02 -04:00
context.c selinux: hash context structure directly 2020-04-17 16:04:34 -04:00
context.h selinux: update my email address 2023-07-19 11:27:02 -04:00
ebitmap.c selinux: update my email address 2023-07-19 11:27:02 -04:00
ebitmap.h selinux: update my email address 2023-07-19 11:27:02 -04:00
hashtab.c selinux: use identical iterator type in hashtab_duplicate() 2023-08-03 22:19:56 -04:00
hashtab.h selinux: move debug functions into debug configuration 2023-07-28 14:09:24 -04:00
mls_types.h selinux: update my email address 2023-07-19 11:27:02 -04:00
mls.c selinux: avoid implicit conversions in mls code 2023-08-03 22:19:57 -04:00
mls.h selinux: update my email address 2023-07-19 11:27:02 -04:00
policydb.c selinux: revert SECINITSID_INIT support 2023-08-09 10:51:13 -04:00
policydb.h selinux: update my email address 2023-07-19 11:27:02 -04:00
services.c selinux: avoid implicit conversions in services code 2023-08-03 22:19:57 -04:00
services.h selinux: update my email address 2023-07-19 11:27:02 -04:00
sidtab.c selinux: update my email address 2023-07-19 11:27:02 -04:00
sidtab.h selinux: update my email address 2023-07-19 11:27:02 -04:00
symtab.c selinux: update my email address 2023-07-19 11:27:02 -04:00
symtab.h selinux: update my email address 2023-07-19 11:27:02 -04:00