diff options
author | 2022-05-06 18:10:51 +0200 | |
---|---|---|
committer | 2022-05-23 13:27:55 +0200 | |
commit | 5f2ff33e10843ef51275c8611bdb7b49537aba5d (patch) | |
tree | 515413ac0099ceb292a7d9cc676ec9a76644d9b5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | selftests/landlock: Test landlock_create_ruleset(2) argument check ordering (diff) | |
download | linux-dev-5f2ff33e10843ef51275c8611bdb7b49537aba5d.tar.xz linux-dev-5f2ff33e10843ef51275c8611bdb7b49537aba5d.zip |
landlock: Define access_mask_t to enforce a consistent access mask size
Create and use the access_mask_t typedef to enforce a consistent access
mask size and uniformly use a 16-bits type. This will helps transition
to a 32-bits value one day.
Add a build check to make sure all (filesystem) access rights fit in.
This will be extended with a following commit.
Reviewed-by: Paul Moore <paul@paul-moore.com>
Link: https://lore.kernel.org/r/20220506161102.525323-2-mic@digikod.net
Cc: stable@vger.kernel.org
Signed-off-by: Mickaël Salaün <mic@digikod.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions