[PATCH v5] Print absolute paths in printpathn when -yy is used
Dmitry V. Levin
ldv at altlinux.org
Wed Aug 20 16:52:13 UTC 2014
Hi,
On Mon, Aug 11, 2014 at 08:50:54AM +0530, Zubin Mithra wrote:
> > 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);
symlinkat is not the only exception, there are also renameat, renameat2,
and linkat: these syscalls take two dirfd descriptors.
--
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20140820/049f2991/attachment.bin>
More information about the Strace-devel
mailing list