Skip to content

vendor: opencontainers/selinux v1.7.0#41801

Merged
AkihiroSuda merged 1 commit intomoby:masterfrom
thaJeztah:selinux_1.7
Dec 22, 2020
Merged

vendor: opencontainers/selinux v1.7.0#41801
AkihiroSuda merged 1 commit intomoby:masterfrom
thaJeztah:selinux_1.7

Conversation

@thaJeztah
Copy link
Member

keeping the "remove selinux tag" changes separate (in #41786), in case we need the Go 1.15 changes into 20.10, but not want the build-tag changes

full diff: opencontainers/selinux@v1.6.0...v1.7.0

  • Implement get_default_context_with_level() from libselinux
  • Wrap some syscalls (lgetattr, lsetattr, fstatfs, statfs) to retry on EINTR.
  • Improve code quality by turning fixing many problems found by linters
  • Use bufio.Scanner for parsing labels and policy confilabelg
  • Cache the value for SELinux policy directory
  • test on ppc64le and go 1.15

full diff: opencontainers/selinux@v1.6.0...v1.7.0

- Implement get_default_context_with_level() from libselinux
- Wrap some syscalls (lgetattr, lsetattr, fstatfs, statfs) to retry on EINTR.
- Improve code quality by turning fixing many problems found by linters
- Use bufio.Scanner for parsing labels and policy confilabelg
- Cache the value for SELinux policy directory
- test on ppc64le and go 1.15

Signed-off-by: Sebastiaan van Stijn <[email protected]>
Copy link
Member

@tianon tianon 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 3ec41db into moby:master Dec 22, 2020
@thaJeztah thaJeztah deleted the selinux_1.7 branch December 23, 2020 10:20
@thaJeztah thaJeztah added this to the 20.10.2 milestone Jan 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants