linux-user: Add strace support for printing OFD fcntl operations
Signed-off-by: Mike Gelfand <mikedld@mikedld.com> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Message-Id: <20200830092242.31506-1-mikedld@mikedld.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
This commit is contained in:
parent
ce0ce715cd
commit
38be863d41
@ -2056,6 +2056,18 @@ print_fcntl(void *cpu_env, const struct syscallname *name,
|
||||
print_pointer(arg2, 1);
|
||||
break;
|
||||
#endif
|
||||
case TARGET_F_OFD_GETLK:
|
||||
qemu_log("F_OFD_GETLK,");
|
||||
print_pointer(arg2, 1);
|
||||
break;
|
||||
case TARGET_F_OFD_SETLK:
|
||||
qemu_log("F_OFD_SETLK,");
|
||||
print_pointer(arg2, 1);
|
||||
break;
|
||||
case TARGET_F_OFD_SETLKW:
|
||||
qemu_log("F_OFD_SETLKW,");
|
||||
print_pointer(arg2, 1);
|
||||
break;
|
||||
case TARGET_F_SETLEASE:
|
||||
qemu_log("F_SETLEASE,");
|
||||
print_raw_param(TARGET_ABI_FMT_ld, arg2, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user