From nobody Sat Apr 27 19:48:42 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VRgBf2Z23z5JlGM for ; Sat, 27 Apr 2024 19:48:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VRgBf026Nz4vKZ for ; Sat, 27 Apr 2024 19:48:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714247322; a=rsa-sha256; cv=none; b=ABwv5A4jLK6zIHLNrD2LeX3m5eeB56UmgJrS86vXC2ckqDkHHUY1lnBHic5Lvnk4Eaa9Sw QNp06lvd1apB3Nvv9/ZFbBGWX+puz6vpUCLjYd65mOEwhCKUBsoJlfwCJqKZOZMVY3tR0B pREEr2M/dxKWFWGU2+YfmkLryN7rVkxZ5sh1JPKw0QmU7YNv+dSJynMw64dLuXtyELP6m6 NLV19Rtu2T0LWpj2x70PNqQcru9axsHbtDVZQ19Fb5iVHJgjaakyRBtM1BTty0yk4lkHvx yGh4mPhLVjfTYYUDnAG0D3Gp6j9RrQxTL26nZKAZIuHRN+13mOJ7rfn6/DbAMg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1714247322; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=J7FwhYYt34F7uaaFB/bcnJgcQmTVOJn1F+p0jb6NZWU=; b=HD5oHEFqSo0rF6/G5I0uwzc9aj1d5ug42bptaB6lnqDJnOylVjFL37aFt5ER/KXS5j8Mtr dHbaBt/doRUBXyIGa0OJWvdWwHMZB6rzEjHMtoavDDfLVYoOSJR47W88MoBiCJ4IbSDNUp GiWLVQDOiaVUqph6aarUhmbFoMYGFHj6j3nRIETDeMuFLS8t/vvKY/ickFXDzmf+/rcL89 o3kiDLpf3dZOFDBJYMUNx0tjHPlru5fAohfi4qSV/3oSQLU03icrDgcjQ+lerkDI2MO9I0 FT5Azy6tH6KuoNQpBWYvp6VPCEnvWnKqfkqqDlPCeFDe+Y1j62r4hCAvH7yq6Q== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VRgBd6lRpzvGT for ; Sat, 27 Apr 2024 19:48:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 43RJmfiQ040422 for ; Sat, 27 Apr 2024 19:48:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43RJmfDC040421 for bugs@FreeBSD.org; Sat, 27 Apr 2024 19:48:41 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 278623] in6.h should expose s6_addr* fields to user level Date: Sat, 27 Apr 2024 19:48:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: karels@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 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.=