Page MenuHomeFreeBSD

getnetent(3): Add missing reentrant functions
ClosedPublic

Authored by fernape on May 26 2021, 2:40 PM.
Tags
None
Referenced Files
F152810698: D30469.id107179.diff
Fri, Apr 17, 6:34 AM
F152787179: D30469.id89909.diff
Fri, Apr 17, 2:53 AM
F152775510: D30469.id.diff
Fri, Apr 17, 1:02 AM
Unknown Object (File)
Sat, Apr 11, 4:06 PM
Unknown Object (File)
Wed, Apr 8, 6:23 AM
Unknown Object (File)
Mon, Apr 6, 2:23 PM
Unknown Object (File)
Sun, Apr 5, 8:02 PM
Unknown Object (File)
Sun, Mar 22, 3:18 PM

Details

Summary

Add documentation for getnetent_r, getnetbyaddr_r and getnetbyname_r

Create proper MLINKs for the new functions.

PR: 249154
Reported by: asomers@

Test Plan

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Can I have some feedback here so I can move forward with this?

same, seems reasonable

This revision is now accepted and ready to land.Jun 13 2022, 8:28 PM
pauamma_gundo.com added inline comments.
lib/libc/net/gethostbyname.3
43–45

Should all the *_r functions be kept together, or each moved next to the corresponding non-reentrant function?

68–73

Same question as above.

lib/libc/net/gethostbyname.3
43–45

I would keep them together. See cap_endgrent(3), cap_pwd(3)

pauamma_gundo.com added inline comments.
lib/libc/net/gethostbyname.3
43–45

WFM. Consistency in outline with other manual pages is as good an answer as any.