From nobody Thu Oct 05 13:08:34 2023 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 4S1X1Z55J6z4wf68 for ; Thu, 5 Oct 2023 13:08:34 +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 4S1X1Z3B9tz4GsM for ; Thu, 5 Oct 2023 13:08:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1696511314; a=rsa-sha256; cv=none; b=osUitdvMDJUQhiVcymxpn4ueSYcZ1XxIJrDf3imLRbAUpSEfl1xMb245c8OKVeWRnJ8r8C UzOalPbVmNUK79hGTmteU8xQ3VIq1E9fGo3OSV0KAEFyAMsyKNGVDjAZaGqRBIDaDXwAM2 3NZhqxhVzfMuEsRV/qDHf11IEME8ypT+4lx43S1aPeOv2As08bJGYzdDBtZslmrBKx4Mhi fGHDPE+31XNhU2bJE3HQ22wF0uYGCD9Je+s7MxurqEjcZQf6DpWNRfvQmvXMreMg+uj4H7 yQEqoIqXalriuhnYAD+elGcCgFlN+bMKrMP0bQPoHDwt8rNlJEBIPMTH1cLB4w== 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=1696511314; 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=5Id11hbGXiIhRy0ap7+hdLD2e7hWtqp8XE1WN7X8sY0=; b=hkpjlYYV9dGYTG5sS27+124xoklcwjAW2APg4SWRUwqdBlHCZ9Wx1m6cca0ZRmkdCnbCjU w/jZfwNsBChRxNvAPFGlR5R1eiNsamvOCUzmS4M8jCCMklQ2gwsFeUiUSzR4TNcfD/qzl6 EOSA2niZ+gwWyJ7R3dQAjip5rKoEcPrmJae4IXCYCBJAmnDocBCx5gJw5KWNEgX4Lrsy0h TzY/FeaDYddA9jZkrhh3R2C3JC1jSpNVxLO3x4CDhGe9wTiu9GmFJysNIQULdOi2qiUWdu CfFtqUUQ0DlRWOE2Z0wSaZFt6OoNunFLMtJedJ+5GPa41Ctjc/ODkqgzENif5g== 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 4S1X1Z2FnKz1Lcn for ; Thu, 5 Oct 2023 13:08:34 +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 395D8Y4O085220 for ; Thu, 5 Oct 2023 13:08:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 395D8YMP085218 for bugs@FreeBSD.org; Thu, 5 Oct 2023 13:08:34 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 274274] nmount logs to_path twice via ktrace() Date: Thu, 05 Oct 2023 13:08:34 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: emaste@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: cc 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274274 Ed Maste changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |emaste@freebsd.org --- Comment #2 from Ed Maste --- Note that ktrace is documented to list namei translations performed by the process(es), not syscall arguments. In the mount_nullfs case those are the namei operations that the kernel performed due to the nmount syscall, in the order that it performed them. unmount may not log a name translation because it may not perform one: > If the MNT_BYFSID flag is specified, dir should instead be a file system > ID encoded as =E2=80=9CFSID:val0:val1=E2=80=9D, where val0 and val1 are t= he contents of > the fsid_t val[] array in decimal. The file system that has the > specified file system ID will be unmounted. It may be that the ktrace(1) man page needs a note to make it clear that na= mei operations do not necessarily correspond directly to syscall path arguments. --=20 You are receiving this mail because: You are the assignee for the bug.=