ISA v3.1 does not support the SAO storage control attribute required to implement PROT_SAO. PROT_SAO was used by specialised system software (Lx86) that has been discontinued for about 7 years, and is not thought to be used elsewhere, so removal should not cause problems. We rather remove it than keep support for older processors, because live migrating guest partitions to newer processors may not be possible if SAO is in use (or worse allowed with silent races). - PROT_SAO stays in the uapi header so code using it would still build. - arch_validate_prot() is removed, the generic version rejects PROT_SAO so applications would get a failure at mmap() time.
Showing the changes to include/linux (1 of 13 files). Show all
Unified · Split
| @@ -317,8 +317,6 @@ extern unsigned int kobjsize(const void *objp); · 316 unmodified lines | |||
| 317 | 317 | ||
| 318 | #if defined(CONFIG_X86) | 318 | #if defined(CONFIG_X86) |
| 319 | # define VM_PAT VM_ARCH_1 /* PAT reserves whole VMA at once (x86) */ | 319 | # define VM_PAT VM_ARCH_1 /* PAT reserves whole VMA at once (x86) */ |
| 320 | #elif defined(CONFIG_PPC) | ||
| 321 | # define VM_SAO VM_ARCH_1 /* Strong Access Ordering (powerpc) */ | ||
| 322 | #elif defined(CONFIG_PARISC) | 320 | #elif defined(CONFIG_PARISC) |
| 323 | # define VM_GROWSUP VM_ARCH_1 | 321 | # define VM_GROWSUP VM_ARCH_1 |
| 324 | #elif defined(CONFIG_IA64) | 322 | #elif defined(CONFIG_IA64) |