[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
Hi Zubin,
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
> RVAL_FD.
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
> prototype.
> * syscall.c (trace_syscall_exiting): Modified to handle RVAL_FD
> return value.
I've corrected this commit message and applied the patch.
Thanks! :)
--
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20140604/9ee92366/attachment.bin>
More information about the Strace-devel
mailing list