From nobody Mon Dec 06 15:57:28 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 268EC18C71B6 for ; Mon, 6 Dec 2021 15:57:31 +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 4J77Nm6L5Vz4c9j for ; Mon, 6 Dec 2021 15:57:28 +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 881D76AA0 for ; Mon, 6 Dec 2021 15:57:28 +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 1B6FvSrC034265 for ; Mon, 6 Dec 2021 15:57:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1B6FvSfw034264 for bugs@FreeBSD.org; Mon, 6 Dec 2021 15:57:28 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:57:28 +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=1638806250; 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=Ipv5YizPE54kKLSakskEvNkBxhmzKJlJbj+j43Nb5VE=; b=Pz1xz13B2jkmRsWNMfDcWew1lgEJQzBqa0ziXb0BNE8pqmrPpvjX+zRaqthwP3lV2lTEEu NBC8GWGFZUsJqmr75p0S8Ru0CpyOeRfbPNvihmJHLLoXq7z4sRaDgznn7FQ3kRobE8xhtn bLeUXFI8V/hdF7Ubxw7NqmD/dY4SvXka7etLpcegyLFHH2iPCCvtsbEiNsjByxUleL3meW BJjfO32eactChNfqssPQLftuZc9g3Q4vTer79DuvmF66BZOR86aqu5jeVfuIueNvLjMDlw kkskBk3OUqc+TJSmfHb2K44dSvCsXCoh68T0TXGkzMrZt6/lljpVsG9kLRViLw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638806250; a=rsa-sha256; cv=none; b=uARjCgWAce/cXkkqTvQ9qEJNVG+lWvz6rePOFinuFl75xKu5e48rQFRvlicHfIf/VOpUY2 aSAJW4fzfTf8m/ZjiQ7f4PTe3MhCNHlAuvsbXRl2KMbCsxPH25ykCz4uJiUTM+KohBXiPn uscOFcvEJrMTPadmfzouAZ7ciAd1MewZ5DN3VXzHaJ8aQPN3BAqR8wjYoZykPsxM5Uif6Z iWC/VkjQlxpfBdMg/WQPIiIro7g2MD/E8ZIWP+Mr8w5IHkW5zCWp152cnwrzH+mfcf2/fw mRWsgJfpLMcqJYGjX/YdmQoB+qL9Z8rvPhykyRu/KZnb20Zee+sj5W0wO2jOFQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234205 --- Comment #5 from commit-hook@FreeBSD.org --- A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D793fad727a33a5f539eb414e4f0b09aae= e0a1b23 commit 793fad727a33a5f539eb414e4f0b09aaee0a1b23 Author: Warner Losh AuthorDate: 2021-11-24 09:25:47 +0000 Commit: Warner Losh CommitDate: 2021-12-06 15:55:58 +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.=