mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
linux-user: add rmdir() strace
Signed-off-by: Laurent Vivier <laurent@vivier.eu> Signed-off-by: Riku Voipio <riku.voipio@nokia.com>
This commit is contained in:
parent
79f2b6fcdb
commit
4de596cb50
2 changed files with 15 additions and 0 deletions
|
@ -876,6 +876,18 @@ print_mkdirat(const struct syscallname *name,
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifdef TARGET_NR_rmdir
|
||||
static void
|
||||
print_rmdir(const struct syscallname *name,
|
||||
abi_long arg0, abi_long arg1, abi_long arg2,
|
||||
abi_long arg3, abi_long arg4, abi_long arg5)
|
||||
{
|
||||
print_syscall_prologue(name);
|
||||
print_string(arg0, 0);
|
||||
print_syscall_epilogue(name);
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef TARGET_NR_mknod
|
||||
static void
|
||||
print_mknod(const struct syscallname *name,
|
||||
|
|
|
@ -495,6 +495,9 @@
|
|||
#ifdef TARGET_NR_mkdirat
|
||||
{ TARGET_NR_mkdirat, "mkdirat" , NULL, print_mkdirat, NULL },
|
||||
#endif
|
||||
#ifdef TARGET_NR_rmdir
|
||||
{ TARGET_NR_rmdir, "rmdir" , NULL, print_rmdir, NULL },
|
||||
#endif
|
||||
#ifdef TARGET_NR_mknod
|
||||
{ TARGET_NR_mknod, "mknod" , NULL, print_mknod, NULL },
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue