Skip to content

libpathrs v0.2.6 -- "If only, if only," the woodpecker sighs, "The bark on the tree was as soft as the skies."

Latest

Choose a tag to compare

@cyphar cyphar released this 06 Sep 16:15
· 8 commits to main since this release
v0.2.6
76b53e0

This release includes a few fixes related to CGo and finicky compiler
issues, as well as replacing some assertions that caused issues with
runc with some more graceful handling of unexpected conditions.

Fixed:

  • The new --{enable,disable}-* arguments for install.sh to control shared
    library installation were incorrectly called --disable-dynamic rather than
    autoconf's --disable-shared. We have added new --{enable,disable}-shared
    flags and the old ones are kept for compatibility.

  • go-pathrs: Fix build failures when building the Go bindings with Clang. CGo's
    handling of numerical C constants is somewhat compiler-dependent and some of
    our sanity checking code would previously fail to compile under CC=clang.
    (#401)

  • Previously, if a downstream regenerated our include/pathrs.h header with
    using cbindgen >= v0.29.3, the header would use C23 features that would
    cause go-pathrs to fail to build. We now have worked around the issue for
    go-pathrs but we still have not updated our headers because our Python
    bindings have other issues with the new headers. See the discussion in
    mozilla/cbindgen#1156 for more details.

Changed:

  • runc closes all open file descriptors before executing user code in order to
    avoid some particularly hairy security bugs. Unfortunately, this also
    invalidates the cached ProcfsHandle in libpathrs, which could cause runc to
    later crash if a subsequent procfs operation was attempted (which happened in
    the error path of runc).

    Most downstream users will never run into this issue, but we now handle
    the problem a bit more gracefully -- if libpathrs detects this problematic
    condition, the cached handle is locked out of use and all ProcfsHandleBuilder::build
    invocations will produce a new handle. (#413, opencontainers/runc#5438)

Thanks to the following contributors who made this release possible:

Signed-off-by: Aleksa Sarai cyphar@cyphar.com


This release is dedicated to our dearest Yuki, who passed away a year
ago today in our arms after bravely fighting heart disease for a year.

You were the bestest and most loving little boy, we miss your rumbling
purrs, your aggressive head rubs and drooling all over our faces while
we slept. We always said you had such a big heart, I only wish we
could've fixed it for you. We're so grateful to have been blessed with
our time with you, even if it was far shorter than it should've been.
You'll always be in our hearts, Yuki. Rest softly, our beautiful boy.

🖤 Yuki 2021-2025

4080-3060-max-2

An estimated one in seven (~15%) of cats are diagnosed with Hypertrophic
Cardiomyopathy (HCM) or similar heart diseases in their lifetimes, and it is
still sadly a death sentence. If you are a cat lover, please consider donating
to charities that are funding research into better diagnostics and treatment.
And don't forget to cherish your furry friends, your time with them may be
shorter than you expect.