Date: Fri, 15 Feb 2008 10:29:33 +0100 From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no> To: Kostik Belousov <kostikbel@gmail.com> Cc: current@freebsd.org Subject: Re: [src] cvs commit: src/include unistd.h src/lib/libc/sys readlink.2 src/sys/compat/freebsd32 syscalls.master src/sys/kern syscalls.master vfs_syscalls.c src/sys/sys syscallsubr.h Message-ID: <86ve4qzhxe.fsf@ds4.des.no> In-Reply-To: <20080214173850.GB57756@deviant.kiev.zoral.com.ua> (Kostik Belousov's message of "Thu\, 14 Feb 2008 19\:38\:50 %2B0200") References: <200802122009.m1CK94Y8026959@repoman.freebsd.org> <20080212200911.B49F416A51C@hub.freebsd.org> <20080212204803.GT57756@deviant.kiev.zoral.com.ua> <20080213113530.GB45243@team.vega.ru> <20080214173850.GB57756@deviant.kiev.zoral.com.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
Kostik Belousov <kostikbel@gmail.com> writes: > The slightly contrived example below works on RELENG_7 amd64, relevant > output from the truss is > readlink("/usr/X11R6","l",1) =3D 1 (0x1) > on the CURRENT gives > readlink("/usr/X11R6","l",1) =3D -4294967295 (0xffff= ffff00000001) > [also please note wrong output for the third readlink arg; ktrace/kdump w= orks > ok]. The only advantage truss has is the ability to decode structs (e.g. struct sockaddr in a connect() call). Apart from that, ktrace / kdump is superior in every respect. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86ve4qzhxe.fsf>