From nobody Wed Nov 24 09:40:11 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 4E871189C64F for ; Wed, 24 Nov 2021 09:40:12 +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 4HzbZz2mKSz4pNW for ; Wed, 24 Nov 2021 09:40:11 +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 06FDF27A21 for ; Wed, 24 Nov 2021 09:40:11 +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 1AO9eAle046096 for ; Wed, 24 Nov 2021 09:40:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1AO9eA7t046095 for bugs@FreeBSD.org; Wed, 24 Nov 2021 09:40:10 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: Wed, 24 Nov 2021 09:40:11 +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=1637746811; 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=Aox4KhTfI3/k+C2sIGpwQOCSIg6yBGifrelxHhJCOtc=; b=YVo0xY1TyC0tuSq9NGKgGgHXiU2Xg+IVdtg2x3GoZty6N4fBDT8kgHb3v0IvovMk5yaLoQ aeFob2S/5DQZxe33jP8FxzztpWPqQVu3zW9y/r0BZD91XVo8yvm0Pm7hfHER6fhpdyJt9Q k6zLrfmAF/Kb7QHDMtPwFSk4dkJf17ntRuj/ntd+Oz41xA5fmkBFxr4twrUB2zqywVMAa4 lE1MKI6ZF+g69148gVrU8Y5KwYbdP5ceCydHhNptBqpWbEd+9zTQUNNfvycBEJ/maq1aDJ 4Ew2bwR7V4WEAfHRS4IQ3o3D1sc+NTbnDWmOHH7RFvnmRzBaX5wRLyir3h+EbQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1637746811; a=rsa-sha256; cv=none; b=nLGPFLpLT7VBjZiayMS4KXaNNxIsP3f1+GR+LDm6tU4N40nkvbNwl2EU0aXcd7YhtXgpvk 5hdTG1WZ6bkY9HKgJnJatST8K4gcu0F5WSIxw5Ew7ZBttahSmLDHOUMYRdbhl1LVKSdz9C FBBdkurc0MWIQqipED0gBadyIdHNPwnF2ETOA0QJIfRSpvs28EBeAQUg3KQH9dBfwwCW67 G95dnt0jlK++5JgOqzO6gJaNs+6tWvMzwiq11pGqy3zWNXz1HSn/p8KwiynQlAxpTiHy2y y+4ZWrM9xQNPhdx6ck4JGCymFpHRp2oE/O0gSFgThwvOwMlye5tOjQ5K1oLRRA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234205 --- Comment #2 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Da2b53e53a3f38dd89b64500a2d2a1727b= affe4f9 commit a2b53e53a3f38dd89b64500a2d2a1727baffe4f9 Author: Warner Losh AuthorDate: 2021-11-24 09:25:47 +0000 Commit: Warner Losh CommitDate: 2021-11-24 09:38:09 +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 sys/sys/file.h | 4 ++++ 1 file changed, 4 insertions(+) --=20 You are receiving this mail because: You are the assignee for the bug.=