From nobody Fri Feb 21 22:53:05 2025 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 4Z054x3k2Fz5pVyv for ; Fri, 21 Feb 2025 22:53:05 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Z054x1qZGz3MwR for ; Fri, 21 Feb 2025 22:53:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1740178385; 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=zC9GtvdPezR+inv3VAPeGufQ0b558vTiRvEk/a+eLVs=; b=LJt5idmNYuKdj5A+Afhzfz93c47N8OKDiiuvRB0U43pGg86d7TZr4s4oN9lbpL9kRh6UBh BW5l4MY+xtiFwDPSW9SF0OeOSnXoqfCXTMhwxsNtPBsJ5dQ1qHJ3fRgqopVSokA7PtIaDw cjs+naSf0jX8HnAAA9/VfC/8lDk5kYZnkvRRslRLwsYPM4oVkkbJS84JYycCAVA/bvmpLe iun3y/Qb3W29lyDXNakmV/q8Dt7hPvfspvWED5W9L+vb0BY1IUnzgZfUmsFnp/6KVtYUwK P0rhWGqyx5TAfb4m6E6a3Wg4SbGiVm1tjk2n43nhvBENW3eK07riUKXD0bTM9g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1740178385; a=rsa-sha256; cv=none; b=m+x6ZeewaAdSHNpm7KW2ghbPsh7CSTcrTZYOHVRFsFp4V8uI7spMDhKQqn3CbW1Lp9xQux 2z3dDbUu860v7rs/bbsdHs60el4f7z5BJKh6uVKVz+2e4GMeqW0TQPjuZOf0OjzA/JqxPz 5rJbCl/yeYc7G2nTHr3HB9b7NJoXWi8SME2DKoE4kOsuqoC89/nf6qWKDKjj9CxGntRWAF 87Ng4wNH7cfZ63N6kdsclaJ/7semLsjcE5nLwgy/qa4dnRoPKys1dFAAKD3xPdMmA3aPon /wwBpdEcxgyRsaLc6pDQ93QC4FaBRK7ftEKYK1atGdtR1XBxCbIfee6kTrAN6w== 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=1740178385; 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=zC9GtvdPezR+inv3VAPeGufQ0b558vTiRvEk/a+eLVs=; b=EPyeXV+b81IrxUw9db4+ypHJD3gYHCGEu64DSwsFmz+96gEqH2Qc4fLaq3eH0QL/b9TGRO akXR9lfRZB8K6SHRQ2+h00LIpREOa9PfoVd6YpOeSPg0uX0p2ZWhnktbVk+lsHCQZGUhQa iZ9ABrdXU9tzCGKDVfjmxaZ2DvE0ivCddLFCsq6NxiIE9oJCNrxeA+zjZtnA/W/WwKLRQ3 K7dgpDDYIrKhJmYnDuAeXQnKsUsCRM3r5fULmOvNortTo5sc7Is2QYPVQ+T+Fu3RrtvSLT J+BM7G7Kyr6i6HhOhtOXrk+eXQrqxIxLhK+6PKOr169nLIgqiviw/m6VYyFapw== 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 4Z054x1JGqzjJ3 for ; Fri, 21 Feb 2025 22:53:05 +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 51LMr4TM015886 for ; Fri, 21 Feb 2025 22:53:04 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 51LMr4dN015884 for bugs@FreeBSD.org; Fri, 21 Feb 2025 22:53:04 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 284795] -DNO_ROOT release builds produce broken cd9660 images Date: Fri, 21 Feb 2025 22:53:05 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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=3D284795 Ed Maste changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Open --- Comment #2 from Ed Maste --- The issue is that there are a number of Rock Ridge PX fields with "POSIX Fi= le Serial Number" equal to zero. >From IEEE P1282 > "BP 37 to BP 44 - POSIX File Serial Number" shall have the same meaning as > and may be used for the st_ino field of POSIX:5.6.1. This field shall be > recorded according to ISO 9660:7.3.3. Directory Records which share the > value of this field are defined as links (see POSIX:2.2.2.17) and, by def= inition, > point to the same file or directory. > > Note: Use of the phrase "may be used for" in [4], [6], [7], and [8] is in= tended to > provide for the possibility of mapping these values when used by a receiv= ing system > provided that, in the case of [8], the meaning of st_ino is preserved as = a unique > identifier of the file. Kernel cd9660 ignores this field, which explains why it has no issue with t= he image: static int cd9660_rrip_attr(ISO_RRIP_ATTR *p, ISO_RRIP_ANALYZE *ana) { ana->inop->inode.iso_mode =3D isonum_733(p->mode); ana->inop->inode.iso_uid =3D isonum_733(p->uid); ana->inop->inode.iso_gid =3D isonum_733(p->gid); ana->inop->inode.iso_links =3D isonum_733(p->links); ana->fields &=3D ~ISO_SUSP_ATTR;=20=20 return ISO_SUSP_ATTR; } --=20 You are receiving this mail because: You are the assignee for the bug.=