Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update SELinux userspace to 3.1 #1023

Merged
merged 2 commits into from
Aug 10, 2020

Conversation

bcressey
Copy link
Contributor

Issue number:
N/A

Description of changes:
Update to the 3.1 release of the SELinux packages.

Add -fno-semantic-interposition to default CFLAGS. This is required by the newer SELinux packages, but fine for other shared libraries on the host since we don't expect any use of LD_PRELOAD.

Testing done:
Built aws-dev and tested locally. Built aws-k8s-1.17 and verified that the nodes joined the cluster.

Confirmed that processes and files were labeled correctly and that semodule works.

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

This is required for newer versions of the SELinux packages, and may
improve the code quality of other shared libraries.

It has the side effect of breaking LD_PRELOAD, but that is not a big
drawback for the host's own libraries.

Signed-off-by: Ben Cressey <bcressey@amazon.com>
Signed-off-by: Ben Cressey <bcressey@amazon.com>
@bcressey bcressey requested a review from tjkirch August 10, 2020 22:09
@bcressey bcressey merged commit b7d7b82 into bottlerocket-os:develop Aug 10, 2020
@bcressey bcressey deleted the selinux-updates branch August 10, 2020 23:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants