mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
deps: update to libpathrs v0.2.5
This update includes a few breaking API changes that I needed to get in before an actual runc release depends on it, so that we don't need to deal with compatibility shims for them (or bumping the SOVERSION). From a Go API perspective, there were no major changes -- though this bump did also require a bump to github.com/cyphar/filepath-securejoin because one of the wrapped APIs changed from int to uint64 as a flag argument type. Again, better to get this done before we really depend on this in a public way. Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
This commit is contained in:
@@ -61,8 +61,8 @@ The following dependencies are optional:
|
||||
|
||||
[libpathrs][] is a Rust library runc can optionally use for path safety. As
|
||||
mentioned in [the build tag section](#build-tags), its use is controlled with
|
||||
the `libpathrs` build tag. runc currently requires at least libpathrs 0.2.4 in
|
||||
order to function properly.
|
||||
the `libpathrs` build tag. runc currently requires *at least libpathrs 0.2.5*
|
||||
in order to function properly.
|
||||
|
||||
At time of writing, very few distributions have libpathrs packages and so it is
|
||||
usually necessary to build and install it locally. For detailed installation
|
||||
@@ -76,7 +76,7 @@ dependencies like `clang` and `lld`), the following steps are all that are
|
||||
really necessary to install libpathrs:
|
||||
|
||||
```sh
|
||||
LIBPATHRS_VERSION=0.2.4
|
||||
LIBPATHRS_VERSION=0.2.5
|
||||
curl -o - -sSL https://github.com/cyphar/libpathrs/releases/download/v${LIBPATHRS_VERSION}/libpathrs-${LIBPATHRS_VERSION}.tar.xz | tar xvfJ -
|
||||
cd libpathrs-${LIBPATHRS_VERSION}/
|
||||
make release
|
||||
|
||||
Reference in New Issue
Block a user