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.).
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
Created attachment 304314 [details] signature.asc On Thu, Jan 19, 2023 at 01:45:57AM +0000, bugzilla-daemon@kernel.org 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).