Content-Length: 243270 | pFad | https://redirect.github.com/fsnotify/fsnotify/issues/617

10 kqueue: set O_CLOEXEC on close pipe fds by kdrag0n · Pull Request #617 · fsnotify/fsnotify · GitHub
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

kqueue: set O_CLOEXEC on close pipe fds #617

Merged
merged 1 commit into from
Apr 25, 2024

Conversation

kdrag0n
Copy link
Contributor

@kdrag0n kdrag0n commented Apr 24, 2024

These file descriptors are being leaked to child processes because O_CLOEXEC isn't set.

These file descriptors are being leaked to child processes because
O_CLOEXEC isn't set.
arp242 added a commit that referenced this pull request Apr 25, 2024
Seems to work now(?) This exception has been there for years, but now it
consistently seems to fail both for me locally and in the CI (for
example in #617). But on the main branch it worked just a few weeks
ago(?)

And while the CI could have been updated, my local environment hasn't:

	netbsd$ uname -a
	NetBSD 9.2 (GENERIC) #0: Wed May 12 13:15:55 UTC 2021  mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC

🤷
@arp242 arp242 mentioned this pull request Apr 25, 2024
arp242 added a commit that referenced this pull request Apr 25, 2024
Seems to work now(?) This exception has been there for years, but now it
consistently seems to fail both for me locally and in the CI (for
example in #617). But on the main branch it worked just a few weeks
ago(?)

And while the CI could have been updated, my local environment hasn't:

	netbsd$ uname -a
	NetBSD 9.2 (GENERIC) #0: Wed May 12 13:15:55 UTC 2021  mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC

🤷
@arp242
Copy link
Member

arp242 commented Apr 25, 2024

Thanks.

(CI failure is unrelated; fixed that in #618)

@arp242 arp242 merged commit 0d78094 into fsnotify:main Apr 25, 2024
17 of 18 checks passed
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








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://redirect.github.com/fsnotify/fsnotify/issues/617

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy