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

make OpenBSD uses the fallback of linux instead of using SysV (shm) #78

Merged
merged 1 commit into from Nov 20, 2019
Merged

make OpenBSD uses the fallback of linux instead of using SysV (shm) #78

merged 1 commit into from Nov 20, 2019

Conversation

semarie
Copy link
Contributor

@semarie semarie commented Nov 20, 2019

while here, unlink(2) the file created by mkstemp(3) to avoid polluting /tmp

the purpose to not use SysV is to avoid using syscalls not allowed in pledge(2) context. With mkstemp(3), only filesystem access is required (or just "tmppath" promise).

tested on OpenBSD 6.6 -current. All the testsuite passes.

while here, unlink(2) the file created by mkstemp(3) to avoid polluting /tmp
@gnzlbg gnzlbg merged commit 15eb11c into gnzlbg:master Nov 20, 2019
@gnzlbg
Copy link
Owner

gnzlbg commented Nov 20, 2019

Thanks!

@semarie semarie deleted the openbsd branch November 20, 2019 19:12
@landryb
Copy link

landryb commented Nov 21, 2019

definitely allows me to build mozilla-central again, thanks a lot !

@gnzlbg
Copy link
Owner

gnzlbg commented Nov 21, 2019 via email

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

3 participants