Skip to content
Snippets Groups Projects
  1. Sep 08, 2020
  2. Aug 27, 2020
  3. Jul 08, 2020
  4. Jul 07, 2020
  5. Jul 06, 2020
  6. Jun 24, 2020
  7. Jun 16, 2020
  8. Jun 12, 2020
    • Simon McVittie's avatar
      d/changelog: Update · 488eedd9
      Simon McVittie authored
      
      Signed-off-by: default 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: default avatarSimon McVittie <smcv@collabora.com>
      ac3f0295
  9. Jun 03, 2020
  10. Mar 13, 2020
  11. Mar 12, 2020
    • 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: default avatarSimon McVittie <smcv@collabora.com>
      1fd9e54b
  12. Jan 16, 2020
  13. Jan 15, 2020
    • 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: default avatarSimon McVittie <smcv@collabora.com>
      fce1548e
Loading