Skip to content

Commit 769e3c4

Browse files
committed
landlock/audit: Fix wrong type usage
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 <[email protected]> Fixes: 2fc80c6 ("landlock: Log file-related denials") --- Changes since v1: - Added Fixes tag
1 parent 8c7c477 commit 769e3c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

security/landlock/audit.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ static size_t get_denied_layer(const struct landlock_ruleset *const domain,
191191
long youngest_layer = -1;
192192

193193
for_each_set_bit(access_bit, &access_req, layer_masks_size) {
194-
const access_mask_t mask = (*layer_masks)[access_bit];
194+
const layer_mask_t mask = (*layer_masks)[access_bit];
195195
long layer;
196196

197197
if (!mask)

0 commit comments

Comments
 (0)