I386 sysenter arch pages fix.patch
PATCH 1/10 I386 sysenter arch pages fix.patch
In compat mode, the return value here was uninitialized.
Signed-off-by Zachary Amsden <[email protected]>
arch/i386/kernel/sysenter.c +1 -1
@@ -254,7 +254,7 @@ int arch_setup_additional_pages(struct l {struct mm_struct *mm = current->mm;unsigned long addr; -int ret; +int ret =0 ;bool compat;down_write (&mm->mmap_sem);
Quoted 8 lines · Zachary Amsden
In compat mode, the return value here was uninitialized.
Signed-off-by Zachary Amsden <[email protected]>diff -r
1fda49a076edarch/i386/kernel/sysenter.c
arch/i386/kernel/sysenter.c int arch_setup_additional_pages(struct l
Quoted 9 lines
arch/i386/kernel/sysenter.c +1
-2@@ -254,7 +254,7 @@ int arch_setup_additional_pages(struct l {struct mm_struct *mm = current->mm;unsigned long addr; -int ret; +int ret =0 ;bool compat;down_write (&mm->mmap_sem); -
Hm, OK, but what about just zeroing it in the compat leg of the if()?
J