Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Apr 2024 19:48:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 278623] in6.h should expose s6_addr* fields to user level
Message-ID:  <bug-278623-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278623

            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=3D250274&action=
=3Dedit
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.=
=20
They should be exposed if __BSD_VISIBLE is defined, i.e. not in a strict
standards-compliant environment.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-278623-227>