diff options
author | 2025-05-12 11:37:30 +0200 | |
---|---|---|
committer | 2025-05-12 11:38:53 +0200 | |
commit | 3039ed432745f8fdf5cbb43fdc60b2e1aad624c1 (patch) | |
tree | 4dffdb52a26380ad84e43a30fcccac10bfe90a75 /scripts/lib/kdoc/kdoc_parser.py | |
parent | landlock: Remove KUnit test that triggers a warning (diff) | |
download | linux-rng-3039ed432745f8fdf5cbb43fdc60b2e1aad624c1.tar.xz linux-rng-3039ed432745f8fdf5cbb43fdc60b2e1aad624c1.zip |
landlock: Improve bit operations in audit code
Use the BIT() and BIT_ULL() macros in the new audit code instead of
explicit shifts to improve readability. Use bitmask instead of modulo
operation to simplify code.
Add test_range1_rand15() and test_range2_rand15() KUnit tests to improve
get_id_range() coverage.
Signed-off-by: Günther Noack <gnoack3000@gmail.com>
Link: https://lore.kernel.org/r/20250512093732.1408485-1-mic@digikod.net
Signed-off-by: Mickaël Salaün <mic@digikod.net>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions