File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ config X86_64
27
27
# Options that are inherently 64-bit kernel only:
28
28
select ARCH_HAS_GIGANTIC_PAGE
29
29
select ARCH_HAS_PTDUMP
30
+ select ARCH_SUPPORTS_MSEAL_SYSTEM_MAPPINGS
30
31
select ARCH_SUPPORTS_INT128 if CC_HAS_INT128
31
32
select ARCH_SUPPORTS_PER_VMA_LOCK
32
33
select ARCH_SUPPORTS_HUGE_PFNMAP if TRANSPARENT_HUGEPAGE
Original file line number Diff line number Diff line change @@ -162,7 +162,8 @@ static int map_vdso(const struct vdso_image *image, unsigned long addr)
162
162
text_start ,
163
163
image -> size ,
164
164
VM_READ |VM_EXEC |
165
- VM_MAYREAD |VM_MAYWRITE |VM_MAYEXEC ,
165
+ VM_MAYREAD |VM_MAYWRITE |VM_MAYEXEC |
166
+ VM_SEALED_SYSMAP ,
166
167
& vdso_mapping );
167
168
168
169
if (IS_ERR (vma )) {
@@ -181,7 +182,7 @@ static int map_vdso(const struct vdso_image *image, unsigned long addr)
181
182
VDSO_VCLOCK_PAGES_START (addr ),
182
183
VDSO_NR_VCLOCK_PAGES * PAGE_SIZE ,
183
184
VM_READ |VM_MAYREAD |VM_IO |VM_DONTDUMP |
184
- VM_PFNMAP ,
185
+ VM_PFNMAP | VM_SEALED_SYSMAP ,
185
186
& vvar_vclock_mapping );
186
187
187
188
if (IS_ERR (vma )) {
You can’t perform that action at this time.
0 commit comments