mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
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>
This commit is contained in:
parent
48c8c5e886
commit
5847d3098d
2 changed files with 19 additions and 1 deletions
|
@ -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 },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue