Date: Fri, 15 Feb 2008 21:04:26 +1030 From: "Daniel O'Connor" <doconnor@gsoft.com.au> To: freebsd-current@freebsd.org Cc: Kostik Belousov <kostikbel@gmail.com>, Dag-Erling =?utf-8?q?Sm=C3=B8rgrav?= <des@des.no>, 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: <200802152104.34829.doconnor@gsoft.com.au> In-Reply-To: <86ve4qzhxe.fsf@ds4.des.no> References: <200802122009.m1CK94Y8026959@repoman.freebsd.org> <20080214173850.GB57756@deviant.kiev.zoral.com.ua> <86ve4qzhxe.fsf@ds4.des.no>
next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart9944593.PgHdM2iENy Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Fri, 15 Feb 2008, Dag-Erling Sm=C3=B8rgrav wrote: > 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 > > (0xffffffff00000001) [also please note wrong output for the third > > readlink arg; ktrace/kdump works 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. That's a pretty big advantage :) Also, ktrace can't write to a pipe which means you need to run/process=20 rather than 'stream'. =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart9944593.PgHdM2iENy Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQBHtWq65ZPcIHs/zowRApOtAJwLvMdpdZdi5R1Ey/WhqdNgDiIw5gCfXs3j JgXgceuhAkKXmHC40HU/Eyc= =FYeS -----END PGP SIGNATURE----- --nextPart9944593.PgHdM2iENy--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802152104.34829.doconnor>