From nobody Mon Dec 06 15:56:25 2021 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 A5EFC18C5748 for ; Mon, 6 Dec 2021 15:56:29 +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 4J77MZ38pWz4bVY for ; Mon, 6 Dec 2021 15:56:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 20CDC6A97 for ; Mon, 6 Dec 2021 15:56:25 +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 1B6FuOob034038 for ; Mon, 6 Dec 2021 15:56:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1B6FuODH034037 for bugs@FreeBSD.org; Mon, 6 Dec 2021 15:56:24 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 234205] /usr/include/sys/file.h uses the u_int typedef which causes C compilation to sometimes fail Date: Mon, 06 Dec 2021 15:56:25 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 12.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@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: Message-ID: In-Reply-To: References: 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638806187; 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: in-reply-to:in-reply-to:references:references; bh=mVi8QNXi1vBUUGfs9nqfPGWjI5AAHPC8bDPkpUnd4Fg=; b=dE43FV7H9df9CR4cthnEQg0DI400m+swAil4QxHcTc56IIEQB0HvbWD7AX1nftO9ZJmlBY E0r79o7v4pA+5wEwgoA2na2nsd/9A0eofafj5DosmDt0F9vKJzqdpXRpCO56vPGA7FwHvO FvcQz/s4Vg70Yxg2aVH79AYvpat8hT1o9ueiFaFKp8QjQ5VuGx6K5NVnlj3VgM8LftJ+xU RPpwKbEO30LMYjvRrwL4UDht2Axqpifos2tynYVJYI0Rh+Tl12mOqJurFYMkTDpbg7uW3R CtEIATW0q1/9qnu/r6iQwzBHyaE5bHRhHDK0tu48S7vY4vX8aGWfnB1ECUw5Pg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638806187; a=rsa-sha256; cv=none; b=NGRFXB4O6cchoUVOATx8mUha3qDUzk5mSdVzrqabYGWBZnDHiMbNHbc2Sey7O6o0VurJbO Fekq8+YeWeHMbXU7DEdFISSwRSf6osuq8kc/DBMYC+9RMr3+qJauj6+9PEI69+VMMhv+DT Nq5hjyF+SKsxdK78FP9wMlCFLlXNixB0xky6yW7VoZVehFjMX6Qb6IylVKPqK1ujJNJWgE lM3fqYB5fDRyKowGCl2zWOmQ0Z4j963P/qgaKrnasSdu0CS/GMjjkDVSmXa+RiM2ZXITd9 g6dT9iyJ8x/Sni4WC/nM2dl2aL26G4CSwmp7Kuas8kRMmchGghLUBUfFOyhqFw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234205 --- Comment #4 from commit-hook@FreeBSD.org --- A commit in branch stable/12 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D5fb6ac34479dc0e23b5ff8f3ae74c6266= cf32476 commit 5fb6ac34479dc0e23b5ff8f3ae74c6266cf32476 Author: Warner Losh AuthorDate: 2021-11-24 09:25:47 +0000 Commit: Warner Losh CommitDate: 2021-12-06 15:54:10 +0000 sys/file.h: Allow inclusion when compiling for a strict namespace Although not part of the standard, this file is sometimes included with -D_POSIX_C_SOURCE=3D or -D_XOPEN_SOURCE=3D. Limit those sturctures that use types hidden by __BSD_VISIBLE to when they are visible. PR: 259975, 234205 Sponsored by: Netflix (cherry picked from commit a2b53e53a3f38dd89b64500a2d2a1727baffe4f9) sys/sys/file.h | 4 ++++ 1 file changed, 4 insertions(+) --=20 You are receiving this mail because: You are the assignee for the bug.=