[Bug 278623] in6.h should expose s6_addr* fields to user level

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 27 Apr 2024 19:48:42 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278623

            Bug ID: 278623
           Summary: in6.h should expose s6_addr* fields to user level
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: karels@freebsd.org

Created attachment 250274
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=250274&action=edit
proposed patch

The netinet6/in6.h header defines accessors for the in6_addr struct,
s6_addr{8,16,32}, but only if _KERNEL or _STANDALONE are defined.  They are
used by some user-level programs from Linux, which exposes them by default. 
They should be exposed if __BSD_VISIBLE is defined, i.e. not in a strict
standards-compliant environment.

-- 
You are receiving this mail because:
You are the assignee for the bug.