1. 25 1月, 2016 1 次提交
  2. 14 1月, 2016 1 次提交
  3. 06 1月, 2016 1 次提交
  4. 05 1月, 2016 5 次提交
  5. 04 1月, 2016 1 次提交
  6. 31 12月, 2015 1 次提交
  7. 22 12月, 2015 1 次提交
  8. 19 12月, 2015 2 次提交
  9. 18 12月, 2015 1 次提交
    • D
      xen: Add RING_COPY_REQUEST() · 454d5d88
      David Vrabel 提交于
      Using RING_GET_REQUEST() on a shared ring is easy to use incorrectly
      (i.e., by not considering that the other end may alter the data in the
      shared ring while it is being inspected).  Safe usage of a request
      generally requires taking a local copy.
      
      Provide a RING_COPY_REQUEST() macro to use instead of
      RING_GET_REQUEST() and an open-coded memcpy().  This takes care of
      ensuring that the copy is done correctly regardless of any possible
      compiler optimizations.
      
      Use a volatile source to prevent the compiler from reordering or
      omitting the copy.
      
      This is part of XSA155.
      
      CC: stable@vger.kernel.org
      Signed-off-by: NDavid Vrabel <david.vrabel@citrix.com>
      Signed-off-by: NKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
      454d5d88
  10. 17 12月, 2015 1 次提交
  11. 16 12月, 2015 1 次提交
  12. 15 12月, 2015 9 次提交
  13. 14 12月, 2015 1 次提交
  14. 13 12月, 2015 2 次提交
  15. 12 12月, 2015 5 次提交
  16. 11 12月, 2015 7 次提交