The branch stable/14 has been updated by des: URL: https://cgit.FreeBSD.org/src/commit/?id=b775b191b6bf02bab3322ffe7a2c2396a54e9f7b
commit b775b191b6bf02bab3322ffe7a2c2396a54e9f7b Author: Tiago Gasiba <[email protected]> AuthorDate: 2025-10-29 20:09:39 +0000 Commit: Dag-Erling Smørgrav <[email protected]> CommitDate: 2025-11-05 15:29:19 +0000 truss: Properly display first argument to nmount The first argument to nmount(2) is an nvlist in the form of an iovec, which truss already knows how to decode. Set the correct flag so this happens automatically. MFC after: 1 week PR: 290667 (cherry picked from commit b9f848ecbafce4e56ba9c8b7993b85347e83484a) --- usr.bin/truss/syscalls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/truss/syscalls.c b/usr.bin/truss/syscalls.c index 47d6aef8f6ff..a6b6d4ec187e 100644 --- a/usr.bin/truss/syscalls.c +++ b/usr.bin/truss/syscalls.c @@ -401,7 +401,7 @@ static const struct syscall_decode decoded_syscalls[] = { { .name = "nanosleep", .ret_type = 1, .nargs = 1, .args = { { Timespec, 0 } } }, { .name = "nmount", .ret_type = 1, .nargs = 3, - .args = { { Ptr, 0 }, { UInt, 1 }, { Mountflags, 2 } } }, + .args = { { Iovec | IN, 0 }, { UInt, 1 }, { Mountflags, 2 } } }, { .name = "open", .ret_type = 1, .nargs = 3, .args = { { Name | IN, 0 }, { Open, 1 }, { Octal, 2 } } }, { .name = "openat", .ret_type = 1, .nargs = 4,
