- avr32-make-prot_write-prot_exec-imply-prot_read.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     AVR32: Make PROT_WRITE | PROT_EXEC imply PROT_READ

has been removed from the -mm tree.  Its filename is

     avr32-make-prot_write-prot_exec-imply-prot_read.patch

This patch was dropped because it was folded into avr32-arch.patch

------------------------------------------------------
Subject: AVR32: Make PROT_WRITE | PROT_EXEC imply PROT_READ
From: Haavard Skinnemoen <hskinnemoen@xxxxxxxxx>

The AVR32 MMU has three protection bits for allowing unprivileged access,
write access and execute access respectively.  There is no way to deny read
access while allowing write or execute access.

make-prot_write-imply-prot_read.patch in mm does basically the same thing
for several other architectures.  One important difference is that this
patch makes PROT_EXEC imply PROT_READ as well, but it looks like this is
the case for most other architectures already.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@xxxxxxxxx>
Acked-by: Jason Baron <jbaron@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 arch/avr32/mm/fault.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN arch/avr32/mm/fault.c~avr32-make-prot_write-prot_exec-imply-prot_read arch/avr32/mm/fault.c
--- a/arch/avr32/mm/fault.c~avr32-make-prot_write-prot_exec-imply-prot_read
+++ a/arch/avr32/mm/fault.c
@@ -134,7 +134,7 @@ good_area:
 		break;
 	case ECR_PROTECTION_R:
 	case ECR_TLB_MISS_R:
-		if (!(vma->vm_flags & VM_READ))
+		if (!(vma->vm_flags & (VM_READ | VM_WRITE | VM_EXEC)))
 			goto bad_area;
 		break;
 	case ECR_PROTECTION_W:
_

Patches currently in -mm which might be from hskinnemoen@xxxxxxxxx are

origin.patch
avr32-arch.patch
avr32-make-prot_write-prot_exec-imply-prot_read.patch
avr32-remove-set_wmb.patch
avr32-use-parse_early_param.patch
avr32-fix-exported-headers.patch
avr32-fix-__const_udelay-overflow-bug.patch
remove-zone_dma-remains-from-avr32.patch
avr32-mtd-static-memory-controller-driver-try-2.patch
avr32-mtd-at49bv6416-platform-device-for-atstk1000.patch
directed-yield-cpu_relax-variants-for-spinlocks-and-rw-locks.patch
generic-ioremap_page_range-implementation.patch
generic-ioremap_page_range-implementation-fix.patch
generic-ioremap_page_range-implementation-nommu-fix.patch
generic-ioremap_page_range-flush_cache_vmap.patch
generic-ioremap_page_range-alpha-conversion.patch
generic-ioremap_page_range-avr32-conversion.patch
generic-ioremap_page_range-cris-conversion.patch
generic-ioremap_page_range-i386-conversion.patch
generic-ioremap_page_range-i386-conversion-fix.patch
generic-ioremap_page_range-m32r-conversion.patch
generic-ioremap_page_range-mips-conversion.patch
generic-ioremap_page_range-mips-conversion-fix.patch
generic-ioremap_page_range-parisc-conversion.patch
generic-ioremap_page_range-s390-conversion.patch
generic-ioremap_page_range-sh-conversion.patch
generic-ioremap_page_range-sh64-conversion.patch
generic-ioremap_page_range-x86_64-conversion.patch
generic-ioremap_page_range-x86_64-conversion-fix.patch
avr32-implement-kernel_execve.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux