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

Zubin Mithra zubin.mithra at gmail.com
Sun Aug 24 19:32:18 UTC 2014


> @@ -1772,10 +1772,10 @@ sys_renameat(struct tcb *tcp)
> {
> 	if (entering(tcp)) {
> 		print_dirfd(tcp, tcp->u_arg[0]);
> -		printpath(tcp, tcp->u_arg[1]);
> +		printpathat(tcp, tcp->u_arg[0], tcp->u_arg[1]);
> 		tprints(", ");
> 		print_dirfd(tcp, tcp->u_arg[2]);
> -		printpath(tcp, tcp->u_arg[3]);
> +		printpathat(tcp, tcp->u_arg[2], tcp->u_arg[3]);
> 	}
> 	return 0;
> }

I just pulled the latest commits and noticed that decode_rename at has been added along with renameat2. I’ll make the changes accordingly. Do the rest of the changes look fine?

Thanks,
— zm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20140824/7fcb6c04/attachment.bin>


More information about the Strace-devel mailing list