src: use reentrant getprotobyname_r()/getprotobynumber_r()/getservbyport_r()
Status from this message: Applied, thanks.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest3 patches 3 repliesApplied
- v21 patch 5 repliesSuperseded
- v11 patch 5 repliesSuperseded
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | nftutils: add new internal file for general utilitiessrc/ src/ src/ | +12 | 0 replies | |
| 2/3 | nftutils: add wrappers for getprotoby{name,number}_r(), getservbyport_r()configure.ac src/ src/ | +117 | 0 replies | |
| 3/3 | src: use wrappers for getprotoby{name,number}_r(), getservbyport_r()src/ src/ src/ | +32 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [nft PATCH v3 0/3] src: use reentrant getprotobyname_r()/getprotobynumber_r()/getservbyport_r()
Changes since version 2:
- split the patch.
- add and use defines NFT_PROTONAME_MAXSIZE, NFT_SERVNAME_MAXSIZE, NETDB_BUFSIZE.
- add new GPL2+ source file as a place for the wrapper functions.
Thomas Haller (3):
nftutils: add new internal file for general utilities
nftutils: add wrappers for getprotoby{name,number}_r(),
getservbyport_r()
src: use wrappers for getprotoby{name,number}_r(), getservbyport_r()
configure.ac | 4 ++ src/Makefile.am | 2 + src/datatype.c | 33 ++++++++-------- src/json.c | 22 +++++------ src/nftutils.c | 102 ++++++++++++++++++++++++++++++++++++++++++++++++ src/nftutils.h | 21 ++++++++++ src/rule.c | 7 ++-- 7 files changed, 161 insertions(+), 30 deletions(-) create mode 100644 src/nftutils.c create mode 100644 src/nftutils.h
Signature · 1 line
2.41.0