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:
Aleksa Sarai
2026-06-18 10:49:48 +02:00
parent c6f4361b83
commit d47bf88349
19 changed files with 153 additions and 77 deletions
+11
View File
@@ -6,6 +6,17 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
## [Unreleased] ##
## [0.7.0] - 2025-06-17 ##
> You talk of times of peace for all, and then prepare for war.
### Changed ###
- Update to `cyphar.com/go-pathrs@0.2.5`, which included a build-time API
breakage that we needed to work around. The API of this library is unchanged
by this, but users should make sure to update to `v0.7.0` of
`filepath-securejoin` if they use the `libpathrs` built tag and have update
to `libpathrs` `v0.2.5`.
## [0.6.1] - 2025-11-19 ##
> At last up jumped the cunning spider, and fiercely held her fast.
+1 -1
View File
@@ -1 +1 @@
0.6.1
0.7.0
@@ -53,5 +53,5 @@ func Reopen(file *os.File, flags int) (*os.File, error) {
}
defer handle.Close() //nolint:errcheck // close failures aren't critical here
return handle.OpenFile(flags)
return handle.OpenFile(uint64(flags))
}