From owner-freebsd-current@FreeBSD.ORG Fri Feb 15 14:57:39 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E1BD816A475; Fri, 15 Feb 2008 14:57:39 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from speedfactory.net (mail.speedfactory.net [66.23.216.219]) by mx1.freebsd.org (Postfix) with ESMTP id 31E9613C4E8; Fri, 15 Feb 2008 14:57:39 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.8s) with ESMTP id 232035533-1834499 for multiple; Fri, 15 Feb 2008 09:55:44 -0500 Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.14.2/8.14.2) with ESMTP id m1FEvUGC099779; Fri, 15 Feb 2008 09:57:34 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-current@freebsd.org Date: Fri, 15 Feb 2008 08:58:01 -0500 User-Agent: KMail/1.9.7 References: <200802122009.m1CK94Y8026959@repoman.freebsd.org> <86ve4qzhxe.fsf@ds4.des.no> <200802152104.34829.doconnor@gsoft.com.au> In-Reply-To: <200802152104.34829.doconnor@gsoft.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200802150858.02649.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Fri, 15 Feb 2008 09:57:36 -0500 (EST) X-Virus-Scanned: ClamAV 0.91.2/5830/Fri Feb 15 08:07:34 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Kostik Belousov , current@freebsd.org, Dag-Erling =?iso-8859-15?q?Sm=F8rgrav?= 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 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Feb 2008 14:57:40 -0000 On Friday 15 February 2008 05:34:26 am Daniel O'Connor wrote: > On Fri, 15 Feb 2008, Dag-Erling Sm=F8rgrav wrote: > > Kostik Belousov 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. >=20 > That's a pretty big advantage :) >=20 > Also, ktrace can't write to a pipe which means you need to run/process=20 > rather than 'stream'. kdump -l. =2D-=20 John Baldwin