git: 55e2187a091b - main - Translate linux_newlstat name argument

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Wed, 20 Mar 2024 22:46:10 UTC
The branch main has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=55e2187a091b7c397b3682b5ded2143c43e31a18

commit 55e2187a091b7c397b3682b5ded2143c43e31a18
Author:     John F. Carr <jfc@mit.edu>
AuthorDate: 2024-03-20 22:44:23 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2024-03-20 22:45:55 +0000

    Translate linux_newlstat name argument
    
    PR:     277847
    MFC after:      1 week
---
 usr.bin/truss/syscalls.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/usr.bin/truss/syscalls.c b/usr.bin/truss/syscalls.c
index f9763d10c1b4..47d6aef8f6ff 100644
--- a/usr.bin/truss/syscalls.c
+++ b/usr.bin/truss/syscalls.c
@@ -615,6 +615,8 @@ static const struct syscall_decode decoded_syscalls[] = {
 	  .args = { { Name | IN, 0 }, { Int, 1 } } },
 	{ .name = "linux_newfstat", .ret_type = 1, .nargs = 2,
 	  .args = { { Int, 0 }, { Ptr | OUT, 1 } } },
+	{ .name = "linux_newlstat", .ret_type = 1, .nargs = 2,
+	  .args = { { Name | IN, 0 }, { Ptr | OUT, 1 } } },
 	{ .name = "linux_newstat", .ret_type = 1, .nargs = 2,
 	  .args = { { Name | IN, 0 }, { Ptr | OUT, 1 } } },
 	{ .name = "linux_open", .ret_type = 1, .nargs = 3,