Skip to content

Commit 6803b6e

Browse files
committed
landlock: Fix cosmetic change
This line removal should not be there and it makes it more difficult to backport the following patch. Cc: Günther Noack <gnoack@google.com> Cc: Konstantin Meskhidze <konstantin.meskhidze@huawei.com> Fixes: 7a11275 ("landlock: Refactor layer helpers") Link: https://lore.kernel.org/r/20250719104204.545188-2-mic@digikod.net Signed-off-by: Mickaël Salaün <mic@digikod.net>
1 parent 970f8a1 commit 6803b6e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • security/landlock

security/landlock/fs.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -895,6 +895,7 @@ static bool is_access_to_paths_allowed(
895895
/* Stops when a rule from each layer grants access. */
896896
if (allowed_parent1 && allowed_parent2)
897897
break;
898+
898899
jump_up:
899900
if (walker_path.dentry == walker_path.mnt->mnt_root) {
900901
if (follow_up(&walker_path)) {

0 commit comments

Comments
 (0)