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

Remove pledge() support for OpenBSD #6048

Merged
merged 1 commit into from May 17, 2024
Merged

Remove pledge() support for OpenBSD #6048

merged 1 commit into from May 17, 2024

Conversation

botovq
Copy link
Contributor

@botovq botovq commented May 7, 2024

While this initially worked fine, at some point these patches broke because libcairo started calling shmget(2) - a syscall not covered by any pledge promise - and a common pitfall when using pledge with graphics-oriented applications.

Various attempts were made to fix them, but at some time they were simply disabled in the OpenBSD port:

openbsd/ports@a4a9f41 openbsd/ports@5a03c38

This seems pointless and creates needless friction both for the i3 team who was willing to carry ugly code and for the OpenBSD ports maintainers who had to disable that code again.

Let's abandon this experiment.

While this initially worked fine, at some point these patches broke
because libcairo started calling shmget(2) - a syscall not covered
by any pledge promise - and a common pitfall when using pledge with
graphics-oriented applications.

Various attempts were made to fix them, but at some time they were
simply disabled in the OpenBSD port:

openbsd/ports@a4a9f41
openbsd/ports@5a03c38

This seems pointless and creates needless friction both for the i3 team
who was willing to carry ugly code and for the OpenBSD ports maintainers
who had to disable that code again.

Let's abandon this experiment.
@orestisfl orestisfl merged commit 854696c into i3:next May 17, 2024
3 checks passed
@orestisfl
Copy link
Member

Thank you for the PR & elaborate context.

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.

None yet

2 participants