Skip to contentSkip to conversation

New: close_range(2) page missing; closefrom(2) needs refreshing for glibc inclusion

Bug 216951 [email protected] 2 participants 6 messages Jan 19, 2023 – May 24, 2023 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=216951

Bug ID: 216951
Summary: close_range(2) page missing; closefrom(2) needs
refreshing for glibc inclusion
Product: Documentation
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P1
Component: man-pages
Assignee: [email protected]
Reporter: [email protected]
Regression: No

This came up at
https://github.com/OpenRC/openrc/pull/541#discussion_r1070724653.

man-pages currently doesn't document closefrom(2) at all, and is outdated wrt close_range(2) (it only covers the kernel uapi interface, not the fact it's in glibc & the relevant headers - in since glibc 2.34.).

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#1 lore raw

[Bug 216951] close_range(2) needs refreshing for glibc inclusion; closefrom(2) page missing

https://bugzilla.kernel.org/show_bug.cgi?id=216951

Sam James ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

            Summary|close_range(2) page         |close_range(2) needs
                   |missing; closefrom(2) needs |refreshing for glibc
                   |refreshing for glibc        |inclusion; closefrom(2)
                   |inclusion                   |page missing
Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#2 lore raw

[Bug 216951] close_range(2) needs refreshing for glibc inclusion; closefrom(2) page missing

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=216951

--- Comment #1 from Alejandro Colomar ([email protected]) --- Hi Sam!

I would appreciate a patch from someone experienced in these APIs to the mailing list, according to ./CONTRIBUTING. Maybe you can summon someone by CCing in the mailing list?

Cheers,
Alex

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#3 lore raw

[Bug 216951] close_range(2) needs refreshing for glibc inclusion; closefrom(2) page missing

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=216951

Alejandro Colomar ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#4 lore raw

[Bug 216951] close_range(2) needs refreshing for glibc inclusion; closefrom(2) page missing

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=216951

--- Comment #2 from Alyssa Ross ([email protected]) ---

Quoted 1 line · On Thu, Jan 19, 2023 at 01:45:57AM +0000, [email protected] wrote:

man-pages currently doesn't document closefrom(2) at all, and is outdated wrt

Shouldn't it be closefrom(3)? There's no closefrom syscall — Glibc implements it using close_range (if available).

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#5 lore raw
In reply to [email protected]
Quoted 1 line · On Thu, Jan 19, 2023 at 01:45:57AM +0000, [email protected] wrote:

man-pages currently doesn't document closefrom(2) at all, and is outdated wrt

Shouldn't it be closefrom(3)? There's no closefrom syscall — Glibc implements it using close_range (if available).