linux/include
Paolo 'Blaisorblade' Giarrusso 7e2cff42cf [PATCH] mm: add a note about partially hardcoded VM_* flags
Hugh made me note this line for permission checking in mprotect():

		if ((newflags & ~(newflags >> 4)) & 0xf) {

after figuring out what's that about, I decided it's nasty enough.  Btw
Hugh itself didn't like the 0xf.

We can safely change it to VM_READ|VM_WRITE|VM_EXEC because we never change
VM_SHARED, so no need to check that.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Acked-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-09-21 10:11:55 -07:00
..
acpi [ACPI] ACPICA 20050902 2005-09-03 00:15:11 -04:00
asm-alpha [PATCH] feature removal of io_remap_page_range() 2005-09-13 08:22:33 -07:00
asm-arm [ARM] Fix warning in asm/futex.h 2005-09-18 21:11:08 +01:00
asm-arm26 [PATCH] feature removal of io_remap_page_range() 2005-09-13 08:22:33 -07:00
asm-cris [PATCH] Clean up struct flock64 definitions 2005-09-07 16:57:38 -07:00
asm-frv [PATCH] feature removal of io_remap_page_range() 2005-09-13 08:22:33 -07:00
asm-generic [PATCH] x86-64: Increase TLB flush array size 2005-09-12 10:49:58 -07:00
asm-h8300 [PATCH] feature removal of io_remap_page_range() 2005-09-13 08:22:33 -07:00
asm-i386 [PATCH] feature removal of io_remap_page_range() 2005-09-13 08:22:33 -07:00
asm-ia64 Pull fix-offsets-h into release branch 2005-09-14 14:14:45 -07:00
asm-m32r [PATCH] feature removal of io_remap_page_range() 2005-09-13 08:22:33 -07:00
asm-m68k [PATCH] feature removal of io_remap_page_range() 2005-09-13 08:22:33 -07:00
asm-m68knommu [PATCH] feature removal of io_remap_page_range() 2005-09-13 08:22:33 -07:00
asm-mips [PATCH] feature removal of io_remap_page_range() 2005-09-13 08:22:33 -07:00
asm-parisc [PATCH] feature removal of io_remap_page_range() 2005-09-13 08:22:33 -07:00
asm-powerpc [PATCH] ppc64: Add definitions for new PTRACE calls 2005-09-12 17:19:12 +10:00
asm-ppc [PATCH] ppc32: Add ppc_sys descriptions for PowerQUICC I devices 2005-09-17 11:50:01 -07:00
asm-ppc64 [PATCH] ppc64: Remove unused code 2005-09-12 17:19:12 +10:00
asm-s390 [PATCH] spinlock consolidation 2005-09-10 10:06:21 -07:00
asm-sh [PATCH] feature removal of io_remap_page_range() 2005-09-13 08:22:33 -07:00
asm-sh64 [PATCH] feature removal of io_remap_page_range() 2005-09-13 08:22:33 -07:00
asm-sparc [PATCH] spinlock consolidation 2005-09-10 10:06:21 -07:00
asm-sparc64 [SPARC64]: Verify vmalloc TLB misses more strictly. 2005-09-20 12:18:38 -07:00
asm-um [PATCH] uml: UML/i386 cmpxchg fix 2005-09-17 11:50:01 -07:00
asm-v850 [PATCH] Clean up struct flock64 definitions 2005-09-07 16:57:38 -07:00
asm-x86_64 [PATCH] x86_64: desc.h-needs smp.h 2005-09-17 11:50:01 -07:00
asm-xtensa [PATCH] feature removal of io_remap_page_range() 2005-09-13 08:22:33 -07:00
linux [PATCH] mm: add a note about partially hardcoded VM_* flags 2005-09-21 10:11:55 -07:00
math-emu
media [PATCH] v4l: tveeprom improved to support newer Hauppage cards 2005-09-09 13:57:54 -07:00
mtd
net [IPVS]: ip_vs_ftp breaks connections using persistence 2005-09-14 21:08:51 -07:00
pcmcia [PATCH] pcmcia: add pcmcia to IRQ information 2005-09-09 13:57:48 -07:00
rdma [PATCH] IB CM: support CM redir 2005-09-09 18:23:32 -07:00
rxrpc
scsi [SCSI] Fix thread termination for the SCSI error handle 2005-09-19 09:50:04 -05:00
sound [ALSA] version 1.0.10rc1 2005-09-12 11:14:05 +02:00
video [PATCH] drivers/video: Replace custom macro with isdigit() 2005-09-13 08:22:33 -07:00