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

BUG: use openat instead of open in test 15 #191

Closed
wants to merge 1 commit into from

Conversation

keszybz
Copy link

@keszybz keszybz commented Nov 20, 2019

On arm64, __NR_open is not defined, openat is always used. Let's use openat
instead, which is defined for architectures currently.

On arm64, __NR_open is not defined, openat is always used. Let's use openat
instead, which is defined for architectures currently.
@coveralls
Copy link

Coverage Status

Coverage remained the same at 89.775% when pulling cc21c1b on keszybz:fix-tests-arm64 into c7d80ed on seccomp:master.

@pcmoore pcmoore changed the title tests: use openat instead of open BUG: use openat instead of open in test 15 Nov 20, 2019
@pcmoore
Copy link
Member

pcmoore commented Nov 20, 2019

Hi @keszybz, thanks for bringing this up, we were supposed to have fixed this in a previous PR but it looks like something went wrong with the merge and the fix was dropped. I've merged the original fix into the master branch via 1ecdddb; if you still see problems let us know.

For reference, the original fix was part of PR #182 and can be found here: pcmoore@35803ce

@pcmoore pcmoore closed this Nov 20, 2019
@keszybz keszybz deleted the fix-tests-arm64 branch November 20, 2019 22:30
@keszybz
Copy link
Author

keszybz commented Nov 20, 2019

Yep, that should work too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants