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

do closefrom() on recent linux systems by using the native syscall, wrapped or not #1

Open
nedko opened this issue Nov 25, 2023 · 0 comments

Comments

@nedko
Copy link
Owner

nedko commented Nov 25, 2023

close_range syscall was added to the Linux kernel in version 5.9
glibc got wrapper in its version 2.34

https://lkml.iu.edu/hypermail/linux/kernel/2008.0/02649.html
https://www.openwall.com/lists/musl/2022/08/18/5
https://gitlab.freedesktop.org/dbus/dbus/-/merge_requests/265
https://gitlab.freedesktop.org/dbus/dbus/-/issues/278

With commits 6c16b70 ( Fix "void value not ignored as it ought to be" error ), that adds libbsd-overlay pkg-config check, and 06cf8c6 ( Use pkg-config for libbsd-overlay and libevent ) the issue somewhat fixed.

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

No branches or pull requests

1 participant