[PATCH v5] Print absolute paths in printpathn when -yy is used

Zubin Mithra zubin.mithra at gmail.com
Mon Aug 11 03:20:54 UTC 2014


Hi Dmitry,


> No, -y should not change, conversion of all relative paths to absolute
> should be controlled by another option.
>

Thanks, got it. Currently I'm using the -A option for absolute path
decoding.


> When descriptors decoding is enabled, descriptors passed to *at syscalls
> are decoded anyway, so we could use this information to decode relative
> paths passed to *at syscalls.
>

Sounds good -- however the sys_symlinkat syscall seems to be an edge case
that needs to be handled separately(oldname uses cwd and newname uses
newfd).

sys_symlinkat(const char *oldname, int newfd, const char *newname);


Thanks,
-- zm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20140811/06cb139f/attachment.html>


More information about the Strace-devel mailing list