linux/arch/x86/include/asm/xen
Marek Marczykowski-Górecki c54590cac5 x86/xen: allow userspace access during hypercalls
Userspace application can do a hypercall through /dev/xen/privcmd, and
some for some hypercalls argument is a pointers to user-provided
structure. When SMAP is supported and enabled, hypervisor can't access.
So, lets allow it.

The same applies to HYPERVISOR_dm_op, where additionally privcmd driver
carefully verify buffer addresses.

Cc: stable@vger.kernel.org
Signed-off-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
2017-07-03 13:26:17 +02:00
..
cpuid.h x86/xen: update cpuid.h from Xen-4.7 2016-07-25 13:30:45 +01:00
events.h xen: Revert commits da72ff5bfc and 72a9b18629 2017-05-02 11:18:05 +02:00
hypercall.h x86/xen: allow userspace access during hypercalls 2017-07-03 13:26:17 +02:00
hypervisor.h x86/iopl/64: Properly context-switch IOPL on Xen PV 2016-03-17 09:49:26 +01:00
interface_32.h xen: implement XENMEM_machphys_mapping 2010-11-12 15:00:06 -08:00
interface_64.h xen: implement XENMEM_machphys_mapping 2010-11-12 15:00:06 -08:00
interface.h xen/PMU: Initialization code for Xen PMU 2015-08-20 12:25:20 +01:00
page-coherent.h dma-mapping: use unsigned long for dma_attrs 2016-08-04 08:50:07 -04:00
page.h x86/xen: create stubs for HVM-only builds in page.h 2017-05-02 11:09:45 +02:00
pci.h xen/pcifront: Report the errors better. 2016-02-15 14:21:18 +00:00
swiotlb-xen.h xen/swiotlb: Use the swiotlb_late_init_with_tbl to init Xen-SWIOTLB late when PV PCI is used. 2012-09-17 12:58:16 -04:00
trace_types.h xen/trace: add multicall tracing 2011-07-18 15:43:26 -07:00