1. 24 Jul, 2021 1 commit
    • Demi Marie Obenour's avatar
      Add extended shared memory attach structure · 1b8328de
      Demi Marie Obenour authored
      This provides an extended version of `X_ShmAttachFd`, called
      `X_ShmAttachFdExt`, which allows the client to specify two additional
      parameters:
      
      1. The size of the mapping, in bytes.
      2. The offset that should be passed to `mmap`, in bytes.
      
      The intended use-case for this extension is when one needs to map
      a drawable from a character special device, but it can also be
      used with regular files if one needs to map with a nonzero offset.
      Qubes OS needs the X server to map the `/dev/xen/gntdev` character
      device, which represents memory shared from a different virtual
      machine.  This is currently accomplished with an `LD_PRELOAD`’d
      shared library that overrides `shmat`, `shmctl`, and `shmdt`, and
      I have written a version that instead overrides `fstat` and `mmap`.
      With this extension, the preloaded shared library will not be required.
      1b8328de
  2. 15 Jun, 2021 1 commit
  3. 30 May, 2021 2 commits
  4. 17 May, 2021 2 commits
  5. 15 May, 2021 3 commits
  6. 10 May, 2021 2 commits
  7. 29 Apr, 2021 3 commits
  8. 15 Apr, 2021 1 commit
  9. 11 Mar, 2021 1 commit
  10. 10 Mar, 2021 6 commits
  11. 01 Mar, 2021 1 commit
  12. 25 Feb, 2021 1 commit
  13. 24 Feb, 2021 5 commits
  14. 17 Feb, 2021 3 commits
  15. 08 Feb, 2021 8 commits