Skip to content

Releases: opencontainers/selinux

v1.15.1

Choose a tag to compare

@kolyshkin kolyshkin released this 01 Jun 19:20
9801d53

What's Changed

Full Changelog: v1.15.0...v1.15.1

v1.15.0

Choose a tag to compare

@kolyshkin kolyshkin released this 21 May 21:43
84683a6

This release adds a new function, SetProcessKind, which is to be used instead of KVMProcessLabel[s] and InitProcessLabel[s] in case the user only wants to change the type of the existing label, not generate a new one. It also fixes an CI issue and optimizes label.InitLabels for a few common cases.

What's Changed

Full Changelog: v1.14.1...v1.15.0

v1.14.1

Choose a tag to compare

@kolyshkin kolyshkin released this 11 May 17:59
89b039b

This release mostly fixes label.InitLabels regression introduced in v1.14.0.

What's Changed

  • README: rm travis, add gha badge by @kolyshkin in #268
  • Fix label.InitLabels regression in v1.14.0; amend ReserveLabelV2 doc by @kolyshkin in #267

Full Changelog: v1.14.0...v1.14.1

v1.14.0

Choose a tag to compare

@kolyshkin kolyshkin released this 05 May 19:10
60872cb

This release fixes a regression in ExecLabel, bumps the minimal Go version to 1.22, and deprecates several functions in favor of improved API.

Fixed

  • ExecLabel was using an incorrect path (regression in v1.13.0). (#253)

Deprecated

  • CategoryRange is deprecated; use SetCategoryRange instead. (#262)
  • KVMContainerLabels is deprecated; use KVMContainerLabel instead. (#262)
  • InitContainerLabels is deprecated; use InitContainerLabel instead. (#262)
  • ReserveLabel is deprecated; use ReserveLabelV2 instead. (#262)
  • ROFileLabel is deprecated; if you use it, open a new issue. (#262)
  • ContainerLabels is deprecated, if you use it, open a new issue. (#262)

Added

  • SEUserByName. (#232, #251)
  • CheckLabel. (#250)
  • SetCategoryRange, KVMContainerLabel, InitContainerLabel, ReserveLabelV2. (#262)

Changed

  • Switch to Go 1.22 as the minimally supported version (#256)
  • Update GetDefaultContextWithLevel to fall back to failsafe context (#232)
  • Use math/rand/v2 rather than crypto/rand for MCS label generation (#257)

Miscellaneous

  • MAINTAINERS: add Aleksa as a maintainer. (#243)
  • Assorted CI bumps and related fixes. (#255)
  • Remove intToMcs. (#259)
  • Use Cut more. (#254)
  • Simplify getSelinuxMountPoint. (#258)
  • Simplify/remove some code. (#261)
  • selinux: release map key when call mcsDelete. (#263)

New Contributors

Full Changelog: v1.13.1...v1.14.0

v1.13.1

Choose a tag to compare

@cyphar cyphar released this 14 Nov 17:10
v1.13.1
5647f06

This release includes a minor update to reduce the minimum version
requirement of the github.com/cyphar/filepath-securejoin package from
v0.6.0 to v0.5.1. We did not use any of the newer features, so
downgrading is a no-op but will help with downstreams that need to
backport github.com/opencontainers/selinux updates.

What's Changed

  • build(deps): bump golangci/golangci-lint-action from 8 to 9 by @dependabot[bot] in #240
  • downgrade github.com/cyphar/filepath-securejoin to v0.5.1 by @Luap99 in #242

New Contributors

Full Changelog: v1.13.0...v1.13.1

v1.13.0

Choose a tag to compare

@rhatdan rhatdan released this 06 Nov 16:38
4be9937

What's Changed

Full Changelog: v1.12.0...v1.13.0

v1.12.0

Choose a tag to compare

@kolyshkin kolyshkin released this 22 Mar 00:30
996c4cf

This release removes deprecated functions from the label package,
and improves documentation and error reporting of SetCreateKey.

What's Changed

Full Changelog: v1.11.1...v1.12.0

v1.11.1

Choose a tag to compare

@kolyshkin kolyshkin released this 16 Oct 00:44
44b3337

What's Changed

New Contributors

Full Changelog: v1.11.0...v1.11.1

v1.11.0

Choose a tag to compare

@rhatdan rhatdan released this 08 Feb 12:30

What's Changed

New Contributors

Full Changelog: v1.10.2...v1.11.0

v1.10.2

Choose a tag to compare

@rhatdan rhatdan released this 28 Sep 23:04

What's Changed

  • Bump to v1.10.1 by @rhatdan in #174
  • gha: update golangci-lint to v1.46, add Go 1.18, remove Go 1.15 by @thaJeztah in #179
  • vendor: golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8 by @thaJeztah in #178
  • Allow relabeling of files/directories under /usr prefix by @rhatdan in #180
  • selinux.Chcon should check legal rather then just label.Relabel by @rhatdan in #181
  • If chcon fails, check if label is already correct by @rhatdan in #177

Full Changelog: v1.10.1...v1.10.2