Skip to content

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

@nedko

Description

@nedko

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions