1. 08 Sep, 2020 1 commit
  2. 27 Aug, 2020 2 commits
  3. 08 Jul, 2020 1 commit
  4. 07 Jul, 2020 19 commits
  5. 06 Jul, 2020 2 commits
  6. 24 Jun, 2020 2 commits
  7. 16 Jun, 2020 2 commits
  8. 12 Jun, 2020 2 commits
    • Simon McVittie's avatar
      d/changelog: Update · 488eedd9
      Simon McVittie authored
      Signed-off-by: Simon McVittie's avatarSimon McVittie <smcv@collabora.com>
      488eedd9
    • Simon McVittie's avatar
      ld-libs: Always clear ldlibs->needed entry if ld_lib_open() fails · ac3f0295
      Simon McVittie authored
      This is what was documented to happen.
      
      Previously, we did not clear the entry if we failed to open the
      library fd, or if we succeeded but the library was "unacceptable"
      (wrong ELF class or machine tag). Normally this results in a minor
      memory leak, and a fd leak if the library is "unacceptable".
      
      However, when called from search_ldcache_cb(), it's particularly
      important that we do this, because search_ldcache() uses the state
      of the fd field - valid fd or not - to check whether ld_lib_open()
      succeeded.
      
      One practical symptom is that if your container has an x86_64
      libfoo.so.0 that compares newer than the provider's libfoo.so.0,
      and does not have an i386 libfoo.so.0, then capsule-capture-libs
      would unexpectedly not capture the i386 libfoo.so.0 from the provider
      either.
      Signed-off-by: Simon McVittie's avatarSimon McVittie <smcv@collabora.com>
      ac3f0295
  9. 03 Jun, 2020 2 commits
  10. 13 Mar, 2020 1 commit
  11. 12 Mar, 2020 1 commit
    • Simon McVittie's avatar
      CI: Codify how to build on Arch Linux · 1fd9e54b
      Simon McVittie authored
      Some libcapsule users and contributors are using Arch Linux or Manjaro
      rather than a Debian derivative.
      
      Many of the tests will be skipped on Gitlab-CI because they need a
      working bubblewrap, which isn't allowed inside unprivileged Docker;
      but this provides "executable documentation" for how to do a build
      and test.
      Signed-off-by: Simon McVittie's avatarSimon McVittie <smcv@collabora.com>
      1fd9e54b
  12. 16 Jan, 2020 4 commits
  13. 15 Jan, 2020 1 commit
    • Simon McVittie's avatar
      tests/capture-libs: Tolerate path to ld.so not being fully resolved · fce1548e
      Simon McVittie authored
      --resolve-ld.so would ideally be the equivalent of realpath or
      readlink -f, but in fact it only has special handling for symlinks in
      the last position in the pathname (like AT_SYMLINK_NOFOLLOW and
      O_NOFOLLOW), leading to different results on at least Arch Linux.
      
      The pressure-vessel utility for which this option was added does not
      actually use it any more, so fixing this is not a high priority right now.
      Signed-off-by: Simon McVittie's avatarSimon McVittie <smcv@collabora.com>
      fce1548e