Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Commit [64aa1b] Maximize Restore History

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>

Zubin Mithra Zubin Mithra 2014-06-04

Dmitry V. Levin Dmitry V. Levin 2014-06-04

changed linux/dummy.h
changed linux/syscall.h
changed defs.h
changed desc.c
changed file.c
changed syscall.c
linux/dummy.h Diff Switch to side-by-side view
Loading...
linux/syscall.h Diff Switch to side-by-side view
Loading...
defs.h Diff Switch to side-by-side view
Loading...
desc.c Diff Switch to side-by-side view
Loading...
file.c Diff Switch to side-by-side view
Loading...
syscall.c Diff Switch to side-by-side view
Loading...