DockerCLI/vendor/github.com
Sebastiaan van Stijn 446d4138ed
vendor: github.com/moby/sys/capability v0.4.0
full diff: https://github.com/moby/sys/compare/capability/v0.3.0...capability/v0.4.0

Added

* New separate API for ambient ([GetAmbient], [SetAmbient], [ResetAmbient])
  and bound ([GetBound], [DropBound]) capabilities, modelled after libcap.

Fixed

* [Apply] now returns an error if called for non-zero `pid`. Before this change,
  it could silently change some capabilities of the current process, instead of
  the one identified by the `pid`.
* Fixed tests that change capabilities to be run in a separate process.
* Other improvements in tests.

Changed

* Use raw syscalls (which are slightly faster).
* Most tests are now limited to testing the public API of the package.
* Simplify parsing /proc/*pid*/status, add a test case.
* Optimize the number of syscall to set ambient capabilities in Apply
  by clearing them first; add a test case.
* Better documentation for [Apply], [NewFile], [NewFile2], [NewPid], [NewPid2].

Removed

* `.golangci.yml` and `.codespellrc` are no longer part of the package.

<!-- Doc links (please keep sorted). -->
[Apply]: https://pkg.go.dev/github.com/moby/sys/capability#Capabilities.Apply
[DropBound]: https://pkg.go.dev/github.com/moby/sys/capability#DropBound
[GetAmbient]: https://pkg.go.dev/github.com/moby/sys/capability#GetAmbient
[GetBound]: https://pkg.go.dev/github.com/moby/sys/capability#GetBound
[LastCap]: https://pkg.go.dev/github.com/moby/sys/capability#LastCap
[ListKnown]: https://pkg.go.dev/github.com/moby/sys/capability#ListKnown
[ListSupported]: https://pkg.go.dev/github.com/moby/sys/capability#ListSupported
[List]: https://pkg.go.dev/github.com/moby/sys/capability#List
[NewFile2]: https://pkg.go.dev/github.com/moby/sys/capability#NewFile2
[NewFile]: https://pkg.go.dev/github.com/moby/sys/capability#NewFile
[NewPid2]: https://pkg.go.dev/github.com/moby/sys/capability#NewPid2
[NewPid]: https://pkg.go.dev/github.com/moby/sys/capability#NewPid
[ResetAmbient]: https://pkg.go.dev/github.com/moby/sys/capability#ResetAmbient
[SetAmbient]: https://pkg.go.dev/github.com/moby/sys/capability#SetAmbient

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-11-19 11:37:18 +01:00
..
Azure/go-ansiterm vendor: github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 2024-11-01 13:20:48 +01:00
Microsoft/go-winio vendor: github.com/containerd/platforms v0.2.1 2024-06-12 00:57:47 +02:00
beorn7/perks vendor with go mod 2021-12-16 21:16:01 +01:00
cenkalti/backoff/v4 vendor: github.com/cenkalti/backoff/v4 v4.3.0 2024-11-01 13:23:39 +01:00
cespare/xxhash/v2 vendor: github.com/cespare/xxhash/v2 v2.3.0 2024-10-12 21:48:45 +02:00
containerd vendor: docker/docker 2b1097f08088 (removes containerd dependency) 2024-07-25 14:57:30 +02:00
creack/pty vendor: github.com/creack/pty v1.1.21 2024-01-08 10:22:09 +01:00
distribution/reference vendor: github.com/distribution/reference v0.6.0 2024-06-08 23:20:52 +02:00
docker vendor: github.com/docker/docker 6ac445c42bad (master, v28.0-dev) 2024-11-01 14:10:15 +01:00
felixge/httpsnoop vendor: github.com/felixge/httpsnoop v1.0.4 2023-12-12 16:22:47 +01:00
fvbommel/sortorder vendor: github.com/fvbommel/sortorder v1.1.0 2024-07-01 13:10:44 +02:00
go-jose/go-jose/v4 deps: update `go-jose/go-jose` to `v4` 2024-11-05 14:12:16 +00:00
go-logr vendor: github.com/go-logr/logr v1.4.2 2024-11-01 13:25:17 +01:00
go-viper/mapstructure/v2 vendor: migrate to github.com/go-viper/mapstructure/v2 v2.0.0 2024-06-06 00:05:45 +02:00
gogo/protobuf Set buildx as default builder 2022-02-03 10:38:05 +01:00
golang/protobuf vendor: google.golang.org/grpc v1.62.0 2024-09-12 18:38:40 +02:00
google vendor: go.opentelemetry.io/otel v1.28.0 2024-11-01 14:08:45 +01:00
gorilla/mux vendor: github.com/gorilla/mux v1.8.1 2023-12-01 16:12:20 +01:00
grpc-ecosystem/grpc-gateway/v2 vendor: github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0 2024-11-01 14:04:41 +01:00
inconshreveable/mousetrap vendor: github.com/inconshreveable/mousetrap v1.1.0 2022-12-27 13:45:16 +01:00
klauspost/compress vendor: github.com/klauspost/compress v1.17.11 2024-11-01 13:28:47 +01:00
mattn/go-runewidth vendor: github.com/mattn/go-runewidth v0.0.14 2023-05-05 02:37:12 +02:00
miekg/pkcs11 vendor: github.com/miekg/pkcs11 v1.1.1 2022-04-30 12:01:33 +02:00
moby vendor: github.com/moby/sys/capability v0.4.0 2024-11-19 11:37:18 +01:00
morikuni/aec vendor with go mod 2021-12-16 21:16:01 +01:00
munnerz/goautoneg vendor: update prometheus dependencies 2024-11-01 13:44:05 +01:00
opencontainers vendor: github.com/opencontainers/image-spec v1.1.0 2024-05-31 16:10:21 +02:00
pkg auth: add support for oauth device-code login 2024-08-14 19:48:04 +01:00
prometheus vendor: update prometheus dependencies 2024-11-01 13:44:05 +01:00
rivo/uniseg use our own version of text/tabwriter 2022-04-25 15:01:41 +02:00
sirupsen/logrus vendor: github.com/sirupsen/logrus v1.9.3 2023-06-12 11:21:25 +02:00
spf13 vendor: github.com/spf13/cobra v1.8.1 2024-06-18 21:52:58 +02:00
theupdateframework/notary vendor dependencies with go1.17 2022-03-26 19:48:14 +01:00
tonistiigi/go-rosetta vendor dependencies with go1.17 2022-03-26 19:48:14 +01:00
xeipuuv vendor dependencies with go1.17 2022-03-26 19:48:14 +01:00