mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2026-01-27 12:47:24 +01:00
landlock: Fix wrong type usage
[ Upstream commit 29fbfa46e4287c596bdc77e2c599e3a1bbf8bb67 ]
I think, based on my best understanding, that this type is likely a typo
(even though in the end both are u16)
Signed-off-by: Tingmao Wang <m@maowtm.org>
Fixes: 2fc80c69df ("landlock: Log file-related denials")
Reviewed-by: Günther Noack <gnoack@google.com>
Link: https://lore.kernel.org/r/7339ad7b47f998affd84ca629a334a71f913616d.1765040503.git.m@maowtm.org
Signed-off-by: Mickaël Salaün <mic@digikod.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
a45001796a
commit
f73f911a4c
|
|
@ -191,7 +191,7 @@ static size_t get_denied_layer(const struct landlock_ruleset *const domain,
|
|||
long youngest_layer = -1;
|
||||
|
||||
for_each_set_bit(access_bit, &access_req, layer_masks_size) {
|
||||
const access_mask_t mask = (*layer_masks)[access_bit];
|
||||
const layer_mask_t mask = (*layer_masks)[access_bit];
|
||||
long layer;
|
||||
|
||||
if (!mask)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user