diff options
author | Matus Kysel <mkysel@tachyum.com> | 2021-04-06 14:42:03 +0000 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2021-05-15 21:35:09 +0200 |
commit | 5847d3098d92851015e0f0c868e1305103feae02 (patch) | |
tree | c9d5891c6684b46b7da8f9ca1e5926eeda6fb3b9 /linux-user/strace.list | |
parent | 48c8c5e8862431235ec5ab553977ee5fe6ffbba7 (diff) |
linux-user: strace now handles unshare syscall args correctly
Syscall unshare did not have custom print function for strace, but it's argument is same as flags in clone syscall, so it can be easily implemented.
Also updated missing flags from clone_flags.
Signed-off-by: Matus Kysel <mkysel@tachyum.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20210406144203.1020598-1-mkysel@tachyum.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'linux-user/strace.list')
-rw-r--r-- | linux-user/strace.list | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/strace.list b/linux-user/strace.list index 084048ab96..3b7c15578c 100644 --- a/linux-user/strace.list +++ b/linux-user/strace.list @@ -1573,7 +1573,7 @@ { TARGET_NR_unlinkat, "unlinkat" , NULL, print_unlinkat, NULL }, #endif #ifdef TARGET_NR_unshare -{ TARGET_NR_unshare, "unshare" , NULL, NULL, NULL }, +{ TARGET_NR_unshare, "unshare" , NULL, print_unshare, NULL }, #endif #ifdef TARGET_NR_userfaultfd { TARGET_NR_userfaultfd, "userfaultfd" , NULL, NULL, NULL }, |