diff options
author | Mickaël Salaün <mic@digikod.net> | 2022-05-06 19:10:51 +0300 |
---|---|---|
committer | Mickaël Salaün <mic@digikod.net> | 2022-05-23 14:27:55 +0300 |
commit | 5f2ff33e10843ef51275c8611bdb7b49537aba5d (patch) | |
tree | 515413ac0099ceb292a7d9cc676ec9a76644d9b5 /lib/Kconfig.kfence | |
parent | 6533d0c3a86ee1cc74ff37ac92ca597deb87015c (diff) | |
download | linux-5f2ff33e10843ef51275c8611bdb7b49537aba5d.tar.xz |
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 'lib/Kconfig.kfence')
0 files changed, 0 insertions, 0 deletions