Find dependencies

Renaud Métrich rmetrich at redhat.com
Sat Sep 18 17:24:26 UTC 2021


That's indeed interesting feature, it's not rare that I need to know which
dir curdir is as well. I think this could be implemented as a decoder to
AT_CWD, e.g. AT_CWD</some/path>.
I'll try working on this next week.

On Thursday, September 9, 2021, Guy <galfandary at gmail.com> wrote:
> Hi,
>
> I'm using strace to find dependencies of complex system processes.
> A dependency for me is a file that is successfully accessed and that
> was not previously created by the process.
> The main missing piece is the ability to get the full path of the file
> being accessed.
> I added the equivalent of "pwdx pid" to the code.
> The only problem is with those "at" calls which are relative to dirfd.
> Still working on that one.
>
> I think it would be a nice enhancement to have an option to get the full
paths.
>
> Thanks,
> Guy
> --
> Strace-devel mailing list
> Strace-devel at lists.strace.io
> https://lists.strace.io/mailman/listinfo/strace-devel
>
>

-- 
-- 
Renaud
Sent from my phone, sorry for the typos...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20210918/937b49a6/attachment.htm>


More information about the Strace-devel mailing list