Skip to content
New issue

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

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

Already on GitHub? # to your account

Use stdbool.h for booleans #660

Merged
merged 1 commit into from
Oct 8, 2024
Merged

Use stdbool.h for booleans #660

merged 1 commit into from
Oct 8, 2024

Conversation

smcv
Copy link
Collaborator

@smcv smcv commented Oct 3, 2024

We don't need to reinvent these, especially in a confusing form (bool type like stdbool.h, but TRUE and FALSE constants like GLib). stdbool.h was available in the gcc 4.6 that is the default compiler in Ubuntu 12.04, more than a decade ago, so it seems sufficiently ubiquitous.

cc @refi64

@swick
Copy link
Contributor

swick commented Oct 7, 2024

Don't see any problem with it.

We don't need to reinvent these, especially in a confusing form
(bool type like stdbool.h, but TRUE and FALSE constants like GLib).
stdbool.h was available in the gcc 4.6 that is the default compiler in
Ubuntu 12.04, more than a decade ago, so it seems sufficiently
ubiquitous.

Signed-off-by: Simon McVittie <smcv@collabora.com>
@smcv smcv merged commit 50cdea6 into containers:main Oct 8, 2024
4 checks passed
smcv pushed a commit to rhendric/bubblewrap that referenced this pull request Oct 15, 2024
This commit adds --overlay, --tmp-overlay, --ro-overlay, and
--overlay-src options to enable bubblewrap to create overlay mounts.
These options are only permitted when bubblewrap is not installed
setuid.

Resolves: containers#412
Co-authored-by: William Manley <will@williammanley.net>
Signed-off-by: Ryan Hendrickson <ryan.hendrickson@alum.mit.edu>
[smcv: Fix merge conflicts with containers#660]
Signed-off-by: Simon McVittie <smcv@collabora.com>
rhendric added a commit to rhendric/bubblewrap that referenced this pull request Oct 15, 2024
This commit adds --overlay, --tmp-overlay, --ro-overlay, and
--overlay-src options to enable bubblewrap to create overlay mounts.
These options are only permitted when bubblewrap is not installed
setuid.

Resolves: containers#412
Co-authored-by: William Manley <will@williammanley.net>
Signed-off-by: Ryan Hendrickson <ryan.hendrickson@alum.mit.edu>
[smcv: Fix merge conflicts with containers#660]
Signed-off-by: Simon McVittie <smcv@collabora.com>
rhendric added a commit to rhendric/bubblewrap that referenced this pull request Oct 15, 2024
This commit adds --overlay, --tmp-overlay, --ro-overlay, and
--overlay-src options to enable bubblewrap to create overlay mounts.
These options are only permitted when bubblewrap is not installed
setuid.

Resolves: containers#412
Co-authored-by: William Manley <will@williammanley.net>
Signed-off-by: Ryan Hendrickson <ryan.hendrickson@alum.mit.edu>
[smcv: Fix merge conflicts with containers#660]
Signed-off-by: Simon McVittie <smcv@collabora.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants