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

bwrap: Pass mutability flag, not unified core #4863

Merged
merged 1 commit into from
Mar 11, 2024

Conversation

cgwalters
Copy link
Member

We have two bool values here and that's a code smell. I was going to add another option and we definitely don't want three bools.

We already have an enum here related to what's going on, so change things to use it.

@cgwalters
Copy link
Member Author

Hm, legit CI failure looks like in

installroot: libsemanage.semanage_create_store: Could not create lock file at /etc/selinux/targeted/semanage.read.LOCK. (Read-only file system).

Will look

@cgwalters cgwalters force-pushed the bwrap-cleanup branch 2 times, most recently from de80514 to 487f5e6 Compare March 8, 2024 19:03
@cgwalters
Copy link
Member Author

Man I stared at this code for a while looking for the problem...but yeah I forgot to regenerate the bindings, which led to just arbitrary undefined behavior here.

(Will look at a CI check for this at some point)

We have two `bool` values here and that's a code smell.  I was
going to add another option and we definitely don't want three
bools.

We already have an enum here related to what's going on,
so change things to use it.

Signed-off-by: Colin Walters <[email protected]>
@jmarrero jmarrero merged commit 881c8c9 into coreos:main Mar 11, 2024
17 checks passed
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