Skip to content

Releases: moby/sys

capability v0.4.0

11 Nov 19:10
50e999a
Compare
Choose a tag to compare

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 capability/CHANGELOG.md.


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

capability v0.3.0

25 Sep 22:19
2a3520a
Compare
Choose a tag to compare

Added

Changed

Fixed

  • Various documentation improvements. (#151)
  • Fix "generated code" comment. (#153)

For the complete list of changes, see capability/CHANGELOG.md.

capability v0.2.0

16 Sep 19:24
d5b8a79
Compare
Choose a tag to compare

What's Changed

This is the initial release of the github.com/moby/sys/capability module, which
is a fork of https://github.com/syndtr/gocapability at commit gocapability@42c35b4376354fd5.
This fork had a temporary home at https://github.com/kolyshkin/capability and was moved here
in #149.

For the complete list of changes since the fork, see CHANGELOG.md.

userns v0.1.0

08 Aug 08:38
userns/v0.1.0
5447519
Compare
Choose a tag to compare

What's Changed

This is the first release of the github.com/moby/sys/userns module which
was previously integrated in the github.com/moby/sys/user module in commit
86870e7 (user v0.2.0). The userns code was migrated from libcontainer (runc)
at commit runc@3778ae6.

Code was originally added through runc@c0ad40c, and located in the
libcontainer/system package; history of this code from before it was moved
can be found through 3 and 4.

user v0.3.0

08 Aug 08:41
user/v0.3.0
5447519
Compare
Choose a tag to compare

What's Changed

  • remove userns package that was added in v0.2.0
  • downgrade minimum go version to v1.17
  • retract v0.2.0

Breaking changes

This release removes the userns package, which was added in v0.2.0, and
now retracted. Commit 86870e7 integrated the userns package into the
github.com/moby/sys/user module, which was included in the v0.2.0 version
of the module.

After further discussion with maintainers, this was not a good choice,
as the package has no direct relation with "user" operations (other than
their name).

For that reason, the userns package was move to its own module and can
now be found in the github.com/moby/sys/userns module.

This release retracts the previous (v0.2.0) release and removes the userns
package, effectively reverting the module to v0.1.0.

Full Changelog: user/v0.2.0...user/v0.3.0

user v0.2.0

25 Jul 09:06
user/v0.2.0
86870e7
Compare
Choose a tag to compare

⚠️ this release was retracted

After further discussion with maintainers, it was decided to move the
userns package to a separate module as it has no direct relation with
"user" operations (other than having "user" in its name).

Refer to the user v0.3.0 and userns v0.1.0 release notes for details.

What's Changed

  • user: require go1.21 or higher

  • integrate libcontainer/userns into moby/sys/user

    This release integrates the userns package from libcontainer (runc) at commit;
    3778ae603c706494fd1e2c2faf83b406e38d687d.

    Code was originally added through runc@c0ad40c, and located in the
    libcontainer/system package; history of this code from before it was moved
    can be found through 3 and 4.

Full Changelog: user/v0.1.0...user/v0.2.0

mount v0.3.4

18 Jul 22:52
mount/v0.3.4
7af2bbe
Compare
Choose a tag to compare

What's Changed

  • mount: rm unneeded errorlint annotation
  • mount: fix Go 1.20 errorlint warning
  • update minimum supported go version to go1.17
  • bump golang.org/x/sys to v0.1.0
  • bump github.com/moby/sys/mountinfo v0.7.2

Full Changelog: mount/v0.3.3...mount/v0.3.4

symlink v0.3.0

16 Jul 18:43
symlink/v0.3.0
cafbe42
Compare
Choose a tag to compare

What's Changed

  • symlink: touch-up documentation
  • update minimum supported go version to go1.17
  • bump golang.org/x/sys to v0.1.0

Full Changelog: symlink/v0.2.0...symlink/v0.3.0

signal v0.7.1

16 Jul 18:50
signal/v0.7.1
cafbe42
Compare
Choose a tag to compare

What's Changed

  • update minimum supported go version to go1.17
  • bump golang.org/x/sys to v0.1.0

Full Changelog: signal/v0.7.0...signal/v0.7.1

sequential v0.6.0

16 Jul 19:03
sequential/v0.6.0
cafbe42
Compare
Choose a tag to compare

What's Changed

  • sequential: remove fileFlagSequentialScan const
  • sequential: consistently use x/sys/windows for consts
  • sequential: open(File)Sequential: remove unused arg
  • sequential: move error-handling to openFileSequential
  • sequential: simplify docs for non-Windows implementations
  • sequential: update docs for Windows-implementation
  • bump golang.org/x/sys to v0.1.0

Full Changelog: sequential/v0.5.0...sequential/v0.6.0