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

fs,sysfs: use EPOLL_EXEC to clean up epoll file descriptors on execve(2) #32

Merged
merged 1 commit into from
Apr 27, 2023

Conversation

eliasnaur
Copy link
Contributor

EPOLL_EXEC is O_CLOEXEC for epoll_create1, which is a good default for any file descriptor not explicitly designed to survive an exec.

@maruel
Copy link
Member

maruel commented Apr 27, 2023

The error is not your fault, let me take a look in O(hours) to O(days).

@maruel
Copy link
Member

maruel commented Apr 27, 2023

#33 should fix it

@maruel
Copy link
Member

maruel commented Apr 27, 2023

Can you try rebasing on top of origin/main now?

EPOLL_EXEC is O_CLOEXEC for epoll_create1, which is a good default for
any file descriptor not explicitly designed to survive an exec.
@eliasnaur
Copy link
Contributor Author

Done.

@maruel maruel merged commit 522a3cb into periph:main Apr 27, 2023
@maruel
Copy link
Member

maruel commented Apr 27, 2023

@eliasnaur
Copy link
Contributor Author

Released as https://github.com/periph/host/releases/tag/v3.8.1

Really? As far as I can tell, v3.8.1 doesn't contain this change. It does contain the go 1.20 bump, however.

@maruel
Copy link
Member

maruel commented Apr 27, 2023

Operator error, see https://github.com/periph/host/releases/tag/v3.8.2

@eliasnaur
Copy link
Contributor Author

Thanks a lot!

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

Successfully merging this pull request may close these issues.

2 participants