From nobody Fri Sep 27 08:42:31 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 4XFP9M2283z5XjDg for ; Fri, 27 Sep 2024 08:42: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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XFP9M0Qj8z4NqD for ; Fri, 27 Sep 2024 08:42:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727426551; 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=zsUjSchwXvp/Q8Cbd/7kb9LCTPNbCoToIIuwFeAaZ+I=; b=lmq8xFD77v7J945WbCghDTgi1Ug9ZvBLdaGlDyverNdEW/Nb7Qp30hOTitNR3KoqnKEkOZ P2XQzHGPW7PwA0OFvVo8Ie5XhjudRjHZobCCp2PEBtvxQKAsQNmgVSz16sQ6wqM7UW8HPz sTEqbnJ4iAuMRaUG1/9iOJca+mLh7Ep8MqGW6VLAObDNimCHeh36mZ2vIGxRZSt0Ce/f6X ZJixFvAXdCGmiO9+szdnQuARewl+MjfrhNQjHFCo/7cFo3GB0yLjQ0adr2G2f887HAt4o2 SlQUSv+pQT0x0AaEPJtqC6CHVMGVUdgY/LvaUsPkVhJK2j/xaD23Vx9lochkXw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727426551; a=rsa-sha256; cv=none; b=GyrKGDQdMzWj4XqsplThdty+kgq5v5zM4ojiKni0engKZOk0jN/bsn4EOKY1XOAXJSp9Jd 8JZ2qmvYwR8iKFVBrxIEK1QM2nzergWWm2OiTWPZ4jCFKox0WbXn4FERvHruepkASWPWIe 2glD4Li2fYn4CRzx1gWjiGtYcpdCnImqEbEDyMBPKFrXBtIx1BALsm5rwaRzL8dmIQYWRn 38GH+xI5nm0+LJMp7WpC5PE2u7uflUasZcJEYTPsk1vDkOFOijTY3e4qQjNaL8xKU+JKRU aQ76CvF/fv804dkM99ZplDVH1kZkgUTUzarN2VlDUpSjx4Ke1hfMB9ommGRdJQ== 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 4XFP9M02KCzZN8 for ; Fri, 27 Sep 2024 08:42:31 +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 48R8gULM077709 for ; Fri, 27 Sep 2024 08:42:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 48R8gUbb077708 for bugs@FreeBSD.org; Fri, 27 Sep 2024 08:42:30 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 281740] [stand/cd9660] Paths including "." or ".." are not resolved Date: Fri, 27 Sep 2024 08:42:31 +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: 14.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: luc.techer64@gmail.com 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 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=3D281740 Bug ID: 281740 Summary: [stand/cd9660] Paths including "." or ".." are not resolved Product: Base System Version: 14.1-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: luc.techer64@gmail.com I came across a weird behaviour when trying to boot on an ISO image with the LOADER_VERIEXEC option enabled, the manifest cannot be located from a subdirectory. Using "ls" from the loader console, it seems like /boot/lua is indeed a directory and not a link. Trying to access other parent directories using ".." does not work either, neither does the "." to refer to the curre= nt directory. Is this expected behaviour on the libstand implementation of the cd9660 filesystem ? ``` Set ve_utc=3D1546329600 Set ve_utc=3D1727425532 Self tests... Testing hash sha256 PASSED verify_signer: 1 certs in chain verify_signer: 1 trust anchors Testing verify certificate: TEST PASSED verify_prep: caller=3Dfopen,fd=3D1,name=3D'/boot/lua/loader.lua',off=3D0,dev=3D107351747= 2, ino=3D1040206231 is_verified: dev=3D1073517472,ino=3D1040206231,status=3D-42 looking for /boot/lua/manifest looking for /boot/lua/../manifest ERROR: cannot open /boot/lua/loader.lua: no such file or directory Type '?' for a list of commands, 'help' for more detailed help. OK ls /boot/manifest /boot/manifest OK ls /boot/lua/../manifest open '/boot/lua/../manifest' failed: no such file or directory OK ls -l /boot/ /boot ... d 2048 kernel d 4096 lua 7372 manifest 2053 manifest.rcerts 761 manifest.rsig ... OK ls /sbin /sbin adjkerntz bsdlabel ... OK ls /sbin/.. open '/sbin/..' failed: no such file or directory OK ls /. open '/.' failed: no such file or directory ``` Here are the src.conf options related to VERIEXEC as they are compiled on my image: WITH_BEARSSL=3DYES WITH_LOADER_VERIEXEC=3DYES WITH_LOADER_VERIEXEC_VECTX=3DYES WITHOUT_LOADER_EFI_SECUREBOOT=3DYES WITHOUT_VERIEXEC=3DYES --=20 You are receiving this mail because: You are the assignee for the bug.=