mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-28 12:53:14 +01:00
mseal sysmap: generic vdso vvar mapping
With the introduction of the generic vdso data storage the VM_SEALED_SYSMAP vm flag must be moved from the architecture specific _install_special_mapping() call [1] [2] which maps the vvar mapping to generic code. [1] https://lkml.kernel.org/r/[email protected] [2] https://lkml.kernel.org/r/[email protected] Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Heiko Carstens <[email protected]> Reviewed-by: Lorenzo Stoakes <[email protected]> Cc: Alexander Gordeev <[email protected]> Cc: Christian Borntraeger <[email protected]> Cc: Jeff Xu <[email protected]> Cc: Liam Howlett <[email protected]> Cc: Sven Schnelle <[email protected]> Cc: Thomas Weißschuh <[email protected]> Cc: Vasily Gorbik <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
This commit is contained in:
1 parent
7b0141daf3
commit
1d6fad7b84
1 file changed
+2
-1
@@ -99,7 +99,8 @@ const struct vm_special_mapping vdso_vvar_mapping = {
|
||||
struct vm_area_struct *vdso_install_vvar_mapping(struct mm_struct *mm, unsigned long addr)
|
||||
{
|
||||
return _install_special_mapping(mm, addr, VDSO_NR_PAGES * PAGE_SIZE,
|
||||
VM_READ | VM_MAYREAD | VM_IO | VM_DONTDUMP | VM_PFNMAP,
|
||||
VM_READ | VM_MAYREAD | VM_IO | VM_DONTDUMP |
|
||||
VM_PFNMAP | VM_SEALED_SYSMAP,
|
||||
&vdso_vvar_mapping);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user