acrn-hypervisor/hypervisor/common
Yonghua Huang 9b37e1464c add IO requrest 'req_buf' check before reference
This address maybe invalid if a hostile address was set
in hypercall 'HC_SET_IOREQ_BUFFER'.it should be validated
before using.

Update:
  -- save HVA to guest OS's request buffer in hyperviosr
  -- change type of 'req_buf' from 'uint64_t' to 'void *'
  -- remove HPA to HVA translation code when using this addr.
  -- use error number instead of -1 when return error cases.

Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
2018-05-15 17:25:27 +08:00
..
hv_main.c Simple get_vmx_cap() 2018-05-15 17:19:36 +08:00
hypercall.c add IO requrest 'req_buf' check before reference 2018-05-15 17:25:27 +08:00
schedule.c retpoline: replace indirect jmp in switch_to function 2018-05-15 17:19:36 +08:00
stack_protector.c initial import 2018-05-11 14:44:28 +08:00
trusty_hypercall.c trusty: implement hypercall to initialize trusty 2018-05-15 17:19:39 +08:00
vm_load.c mmu:create temporary page tables for guest at run time 2018-05-15 17:25:26 +08:00