]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/efa: Remove MAYEXEC flag check from mmap flow
authorGal Pressman <galpress@amazon.com>
Tue, 28 May 2019 12:46:13 +0000 (15:46 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 29 May 2019 16:13:03 +0000 (13:13 -0300)
commitfd495b2bd5799659dc07dedbad2d56e32f6b348b
treefd06e3f806cd49fe05de7f3ea74dab5db735fd7a
parent97753c433d398dc89a055fa6be3bc7deccd17775
RDMA/efa: Remove MAYEXEC flag check from mmap flow

MAYEXEC test was mistakenly added, remove it. Checking MAYEXEC in the
driver prevents it from working with userspace that uses things like EXEC
STACK. (ie some Fortran and other runtimes)

Fixes: 0c1a5f4cd0b6 ("RDMA/efa: Add EFA verbs implementation")
Reported-by: Jason Gunthorpe <jgg@ziepe.ca>
Reviewed-by: Firas JahJah <firasj@amazon.com>
Reviewed-by: Yossi Leybovich <sleybo@amazon.com>
Signed-off-by: Gal Pressman <galpress@amazon.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/efa/efa_verbs.c