RFC: path display and path filtering features.

Grant Edwards grant.b.edwards at gmail.com
Fri Feb 18 22:52:52 UTC 2011


On 2011-02-18, Dmitry V. Levin <ldv at altlinux.org> wrote:
> 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.

I thought about that, and it sounds like something that would be
regretted later.

-- 
Grant Edwards               grant.b.edwards        Yow! My BIOLOGICAL ALARM
                                  at               CLOCK just went off ... It
                              gmail.com            has noiseless DOZE FUNCTION
                                                   and full kitchen!!





More information about the Strace-devel mailing list