RFC: path display and path filtering features.

Dmitry V. Levin ldv at altlinux.org
Fri Feb 18 22:24:31 UTC 2011


On Fri, Feb 18, 2011 at 05:25:30PM +0000, Grant Edwards wrote:
[...]
> > I agree that the fd's returned from open() and creat() should be
> > checked for a match.
> 
> However, I now see that checking the file descriptors returned by a
> system call is problematic.  When the check is done in
> trace_syscall_exiting(), the syscall may have already been ignored
> (not printed) by trace_syscall_entering().  Deciding to print just the
> return value of the syscall isn't very useful.

The decision to print syscall may be changed, and syscall decoder could
be called in "entering mode", but it's tricky and I'd like to avoid it,
at least at this stage.


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20110219/c3dc601f/attachment.bin>


More information about the Strace-devel mailing list