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

seccomp: ignore ENOENT #527

Merged
merged 1 commit into from
Nov 2, 2020

Conversation

giuseppe
Copy link
Member

ioctl (fd, SECCOMP_IOCTL_NOTIF_RECV, &req) returns ENOENT if the
syscall was aborted by the time the seccomp fd was signaled to be
ready.

Also, make the seccomp fd not blocking.

Signed-off-by: Giuseppe Scrivano [email protected]

ioctl (fd, SECCOMP_IOCTL_NOTIF_RECV, &req) returns ENOENT if the
syscall was aborted by the time the seccomp fd was signaled to be
ready.

Also, make the seccomp fd not blocking.

Closes: containers#526

Signed-off-by: Giuseppe Scrivano <[email protected]>
@giuseppe giuseppe marked this pull request as ready for review October 26, 2020 15:00
@giuseppe giuseppe marked this pull request as draft October 26, 2020 16:11
@giuseppe giuseppe marked this pull request as ready for review October 31, 2020 16:08
@giuseppe
Copy link
Member Author

we can iterate again once the Linux API settles, but we can get the current improvement for now.

@rhatdan
Copy link
Member

rhatdan commented Nov 2, 2020

LGTM

@rhatdan rhatdan merged commit b94b9f6 into containers:master Nov 2, 2020
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.

2 participants