aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn F. Carr <jfc@mit.edu>2024-03-20 22:44:23 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2024-03-27 08:27:53 +0000
commitb5e7969b239f3fc2d221159aabb5bc0532ba3949 (patch)
tree40ad40f64614b183e956f1b71d2a390810b1ee05
parent1d2a587ef9f8310da6a9203bd1fff43d61ca66f7 (diff)
downloadsrc-b5e7969b239f3fc2d221159aabb5bc0532ba3949.tar.gz
src-b5e7969b239f3fc2d221159aabb5bc0532ba3949.zip
Translate linux_newlstat name argument
PR: 277847 (cherry picked from commit 55e2187a091b7c397b3682b5ded2143c43e31a18)
-rw-r--r--usr.bin/truss/syscalls.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/truss/syscalls.c b/usr.bin/truss/syscalls.c
index 010308beae3e..e7b937c78cbc 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,