Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 4, 2025

Bumps github.com/moby/sys/user from 0.3.0 to 0.4.0.

Release notes

Sourced from github.com/moby/sys/user's releases.

mountinfo v0.4.0

Breaking changes:

  • PidMountInfo is now deprecated and will be removed before v1.0; users should switch to GetMountsFromReader (#47)

Fixes and improvements:

  • run filter after all fields are parsed (#50)
  • correct handling errors from bufio.Scan
  • documentation formatting fixes (#48)

Thanks to:

  • Aleksa Sarai

capability v0.4.0

Added

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. (#168, #174)
  • Fixed tests that change capabilities to be run in a separate process. (#173)
  • Other improvements in tests. (#169, #170)

Changed

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

Removed

  • .golangci.yml and .codespellrc are no longer part of the package. (#158)

For the complete list of changes, see https://github.com/moby/sys/blob/HEAD/capability/CHANGELOG.md.


Thanks to all of the contributors who made this release possible:

... (truncated)

Commits
  • 71f0c5e Merge pull request #182 from dmcgowan/merge-idtools
  • db55716 Update interface to fit into user package
  • 8e08d6b Merge idtools from github.com/moby/moby/pkg/idtools
  • 7e518ec Merge pull request #49087 from dmcgowan/split-idtools-internal
  • 6134528 Split internal idtools functionality
  • 9ecbe7b pkg/idtools: rewrite to use moby/sys/user
  • 5805d70 pkg/idtools: use lazyregexp to compile regexes on first use
  • fdf2879 Merge pull request #49162 from thaJeztah/pkg_system_volume_uuid
  • 3d38759 pkg/idtools: remove uses of deprecated system.MkdirAll
  • ca0444f Merge pull request #180 from thaJeztah/add_codecov
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/moby/sys/user](https://github.com/moby/sys) from 0.3.0 to 0.4.0.
- [Release notes](https://github.com/moby/sys/releases)
- [Commits](moby/sys@user/v0.3.0...user/v0.4.0)

---
updated-dependencies:
- dependency-name: github.com/moby/sys/user
  dependency-version: 0.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Apr 4, 2025
Copy link
Member

@rata rata left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@AkihiroSuda AkihiroSuda merged commit 9edb497 into main Apr 7, 2025
34 checks passed
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/moby/sys/user-0.4.0 branch April 7, 2025 07:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants