linux-stable/drivers/staging
Anshuman Khandual 6cb4d9a287 mm/vma: introduce VM_ACCESS_FLAGS
There are many places where all basic VMA access flags (read, write,
exec) are initialized or checked against as a group.  One such example
is during page fault.  Existing vma_is_accessible() wrapper already
creates the notion of VMA accessibility as a group access permissions.

Hence lets just create VM_ACCESS_FLAGS (VM_READ|VM_WRITE|VM_EXEC) which
will not only reduce code duplication but also extend the VMA
accessibility concept in general.

Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Vlastimil Babka <vbabka@suse.cz>
Cc: Russell King <linux@armlinux.org.uk>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Mark Salter <msalter@redhat.com>
Cc: Nick Hu <nickhu@andestech.com>
Cc: Ley Foon Tan <ley.foon.tan@intel.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: Guan Xuetao <gxt@pku.edu.cn>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Rob Springer <rspringer@google.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Link: http://lkml.kernel.org/r/1583391014-8170-3-git-send-email-anshuman.khandual@arm.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-04-10 15:36:21 -07:00
..
android
axis-fifo
board
clocking-wizard
comedi SPDX patches for 5.7-rc1. 2020-04-03 13:12:26 -07:00
emxx_udc
fbtft
fieldbus
fsl-dpaa2
fwserial
gasket mm/vma: introduce VM_ACCESS_FLAGS 2020-04-10 15:36:21 -07:00
gdm724x
goldfish
greybus SPDX patches for 5.7-rc1. 2020-04-03 13:12:26 -07:00
gs_fpgaboot
iio
kpc2000
ks7010
media Staging/IIO driver patches for 5.7-rc1 2020-03-30 14:20:41 -07:00
most Staging/IIO driver patches for 5.7-rc1 2020-03-30 14:20:41 -07:00
mt7621-dma
mt7621-dts
mt7621-pci
mt7621-pci-phy
mt7621-pinctrl
netlogic
nvec
octeon staging/octeon: fix up merge error 2020-03-30 17:22:01 -07:00
octeon-usb
olpc_dcon
pi433
qlge Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next 2020-03-31 17:29:33 -07:00
ralink-gdma
rtl8188eu staging: rtl8188eu: cleanup long line in odm.c 2020-03-26 15:45:08 +01:00
rtl8192e
rtl8192u Staging: rtl8192u: ieee80211: Use netdev_alert(). 2020-03-26 16:58:23 +01:00
rtl8712
rtl8723bs staging: rtl8723bs: hal: Remove NULL check before kfree 2020-03-26 15:47:26 +01:00
rts5208
sm750fb
speakup Char/Misc driver patches for 5.7-rc1 2020-04-03 13:22:40 -07:00
unisys
vc04_services Staging/IIO driver patches for 5.7-rc1 2020-03-30 14:20:41 -07:00
vme
vt6655
vt6656 staging: vt6656: Use DIV_ROUND_UP macro instead of specific code 2020-03-27 10:05:52 +01:00
wfx
wilc1000 staging: wilc1000: Use crc7 in lib/ rather than a private copy 2020-03-26 16:58:24 +01:00
wlan-ng staging: wlan-ng: fix use-after-free Read in hfa384x_usbin_callback 2020-03-26 15:47:26 +01:00
Kconfig staging: remove hp100 driver 2020-03-27 10:01:11 +01:00
Makefile staging: remove hp100 driver 2020-03-27 10:01:11 +01:00