[Midnightbsd-cvs] [MidnightBSD/src] 85d34c: in6.h: expose s6_addr* definitions to user level
Lucas Holt
noreply at github.com
Tue Dec 30 11:20:59 EST 2025
Branch: refs/heads/stable/4.0
Home: https://github.com/MidnightBSD/src
Commit: 85d34cf28657912687ee640d011a83e149578def
https://github.com/MidnightBSD/src/commit/85d34cf28657912687ee640d011a83e149578def
Author: Lucas Holt <luke at foolishgames.com>
Date: 2025-12-30 (Tue, 30 Dec 2025)
Changed paths:
M sys/netinet6/in6.h
Log Message:
-----------
in6.h: expose s6_addr* definitions to user level
The only element of of in6_addr that is specified in RFC 3493 or
in POSIX.1-2017 is s6_addr, implemented via a #define to a union
member. However, FreeBSD and other BSD systems have additional
definitions for the other union members, s6_addr{8,16,32} which
are defined for the kernel and loader. Some Linux applications
also use them, and they seem to be allowed by the RFC and POSIX.
Remove the current ifdefs, exposing the additional fields to user
level, and replace with #if __BSD_VISIBLE. Add an explanatory
comment expanding on the previous "nonstandard" comment.
Obtained from: FreeBSD 14 stable
Commit: ff5693424b675cb537c4beb0068c483022ec3b39
https://github.com/MidnightBSD/src/commit/ff5693424b675cb537c4beb0068c483022ec3b39
Author: Lucas Holt <luke at foolishgames.com>
Date: 2025-12-30 (Tue, 30 Dec 2025)
Changed paths:
M sys/conf/newvers.sh
Log Message:
-----------
bump version to 4.0.2
Compare: https://github.com/MidnightBSD/src/compare/7791957a96aa...ff5693424b67
To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/src/settings/notifications
More information about the Midnightbsd-cvs
mailing list