Page MenuHomeFreeBSD

closefrom: always use close_range(2)
ClosedPublic

Authored by brooks on Jun 6 2025, 7:31 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Oct 29, 9:53 AM
Unknown Object (File)
Wed, Oct 29, 9:09 AM
Unknown Object (File)
Wed, Oct 29, 7:11 AM
Unknown Object (File)
Wed, Oct 29, 6:54 AM
Unknown Object (File)
Oct 28 2025, 5:12 AM
Unknown Object (File)
Oct 27 2025, 10:27 PM
Unknown Object (File)
Oct 27 2025, 6:28 PM
Unknown Object (File)
Oct 21 2025, 12:53 AM
Subscribers

Details

Summary

close_range(2) was added prior to 13.0. There is no need to support
a new userspace on such an old kernel.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 64693
Build 61577: arc lint + arc unit

Event Timeline

brooks requested review of this revision.Jun 6 2025, 7:31 PM
kevans added inline comments.
lib/libc/sys/closefrom.c
28–29

Presumably this can be GCed, too

This revision is now accepted and ready to land.Jun 6 2025, 8:03 PM
This revision now requires review to proceed.Jun 6 2025, 8:25 PM
This revision is now accepted and ready to land.Jun 6 2025, 8:54 PM
This revision was automatically updated to reflect the committed changes.