Date: Thu, 05 Oct 2023 13:08:34 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 274274] nmount logs to_path twice via ktrace() Message-ID: <bug-274274-227-Czk4dFq0hZ@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-274274-227@https.bugs.freebsd.org/bugzilla/> References: <bug-274274-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274274 Ed Maste <emaste@freebsd.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |emaste@freebsd.org --- Comment #2 from Ed Maste <emaste@freebsd.org> --- 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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-274274-227-Czk4dFq0hZ>