From 40a0e827004b9e68a9f4c0bebf2316c5f623f400 Mon Sep 17 00:00:00 2001 From: Erez Zadok Date: Fri, 13 May 2022 18:02:12 -0400 Subject: [PATCH] update --- bug-fixes/basic-user-ns.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bug-fixes/basic-user-ns.patch b/bug-fixes/basic-user-ns.patch index 80d46c5..066d6d7 100644 --- a/bug-fixes/basic-user-ns.patch +++ b/bug-fixes/basic-user-ns.patch @@ -281,14 +281,14 @@ index 3df02cc778b3..15c97a78d765 100644 sb->s_fs_info = kzalloc(sizeof(struct wrapfs_sb_info), GFP_KERNEL); if (!WRAPFS_SB(sb)) { diff --git a/fs/wrapfs/mmap.c b/fs/wrapfs/mmap.c -index 9897fa585b97..d3ae80c9ded1 100644 +index 9897fa585b97..5357a0b2ff78 100644 --- a/fs/wrapfs/mmap.c +++ b/fs/wrapfs/mmap.c @@ -15,6 +15,7 @@ static vm_fault_t wrapfs_fault(struct vm_fault *vmf) struct file *file, *lower_file; const struct vm_operations_struct *lower_vm_ops; struct vm_area_struct lower_vma; -+ struct vm_area_struct **vma_p = (struct vm_area_struct**) &vmf->vma; ++ struct vm_area_struct **vma_p = (struct vm_area_struct **) &vmf->vma; memcpy(&lower_vma, vma, sizeof(struct vm_area_struct)); file = lower_vma.vm_file; @@ -308,7 +308,7 @@ index 9897fa585b97..d3ae80c9ded1 100644 struct file *file, *lower_file; const struct vm_operations_struct *lower_vm_ops; struct vm_area_struct lower_vma; -+ struct vm_area_struct **vma_p = (struct vm_area_struct**) &vmf->vma; ++ struct vm_area_struct **vma_p = (struct vm_area_struct **) &vmf->vma; memcpy(&lower_vma, vma, sizeof(struct vm_area_struct)); file = lower_vma.vm_file; -- 2.43.0