git: 5b81d9f7f02e - stable/13 - kdump: Decode linux_clone syscall flags
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 29 Jun 2023 08:20:41 UTC
The branch stable/13 has been updated by dchagin:
URL: https://cgit.FreeBSD.org/src/commit/?id=5b81d9f7f02ef91a8708fd9502d9bc2d3371638a
commit 5b81d9f7f02ef91a8708fd9502d9bc2d3371638a
Author: Dmitry Chagin <dchagin@FreeBSD.org>
AuthorDate: 2023-05-26 16:34:33 +0000
Commit: Dmitry Chagin <dchagin@FreeBSD.org>
CommitDate: 2023-06-29 08:16:00 +0000
kdump: Decode linux_clone syscall flags
Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D40151
MFC after: 1 week
(cherry picked from commit 829f3d7d2640490ea3dc4180aa96041f440fd743)
---
usr.bin/kdump/linux.c | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/usr.bin/kdump/linux.c b/usr.bin/kdump/linux.c
index 109f7b84e622..57f89f9e2faf 100644
--- a/usr.bin/kdump/linux.c
+++ b/usr.bin/kdump/linux.c
@@ -192,6 +192,13 @@ ktrsyscall_linux(struct ktr_syscall *ktr, register_t **resip,
ip++;
narg--;
break;
+ case LINUX_SYS_linux_clone:
+ putchar('(');
+ print_mask_arg(sysdecode_linux_clone_flags, *ip);
+ ip++;
+ narg--;
+ c = ',';
+ break;
case LINUX_SYS_linux_kill:
case LINUX_SYS_linux_tkill:
case LINUX_SYS_linux_rt_sigqueueinfo:
@@ -394,6 +401,13 @@ ktrsyscall_linux32(struct ktr_syscall *ktr, register_t **resip,
ip++;
narg--;
break;
+ case LINUX32_SYS_linux_clone:
+ putchar('(');
+ print_mask_arg(sysdecode_linux_clone_flags, *ip);
+ ip++;
+ narg--;
+ c = ',';
+ break;
case LINUX32_SYS_linux_kill:
case LINUX32_SYS_linux_tkill:
case LINUX32_SYS_linux_rt_sigqueueinfo: