[PATCH v4] Decode paths associated with file descriptors returned by syscalls
Dmitry V. Levin
ldv at altlinux.org
Wed Jun 4 17:08:54 UTC 2014
On Wed, Jun 04, 2014 at 08:30:41AM +0530, zubin.mithra at gmail.com wrote:
> From: Zubin Mithra <zubin.mithra at gmail.com>
> * defs.h (RVAL_FD): New macro.
> * defs.h (RVAL_MASK, RVAL_STR, RVAL_NONE): Macro values modified.
> * desc.c (sys_dup): New function.
> * desc.c (sys_delete_module): New function.
> * desc.c (do_dup2, decode_open, sys_creat): Modified to return
No need to mention files more than once.
> * linux/dummy.h (sys_delete_module, sys_dup): Macros removed.
> * linux/syscall.h (sys_delete_module, sys_dup): New
> * syscall.c (trace_syscall_exiting): Modified to handle RVAL_FD
> return value.
I've corrected this commit message and applied the patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 181 bytes
Desc: not available
More information about the Strace-devel