commit | 64aa1b1e2dd14c5259bd349270f4d1e29d4fb421 | [log] [tgz] |
---|---|---|
author | Zubin Mithra <zubin.mithra@gmail.com> | Wed Jun 04 08:30:41 2014 +0530 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Wed Jun 04 16:28:04 2014 +0000 |
tree | c13761b26cbab8f78c3d657723f8c60db4c10d0d | |
parent | 327102c7f6a8d70a32f83280f897fc02da0a8810 [diff] |
Decode paths associated with file descriptors returned by syscalls * defs.h (RVAL_FD): New macro. (RVAL_MASK, RVAL_STR, RVAL_NONE): Update. * desc.c (sys_dup, sys_delete_module): New functions. (do_dup2, decode_open, sys_creat): Change return value to RVAL_FD. * linux/dummy.h (sys_delete_module, sys_dup): Remove. * linux/syscall.h (sys_delete_module, sys_dup): New prototypes. * syscall.c (trace_syscall_exiting): Handle RVAL_FD. Signed-off-by: Zubin Mithra <zubin.mithra@gmail.com>