From owner-cvs-src@FreeBSD.ORG Tue Mar 23 04:37:03 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 791BB16A4CE; Tue, 23 Mar 2004 04:37:03 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 723D843D2F; Tue, 23 Mar 2004 04:37:03 -0800 (PST) (envelope-from dwmalone@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i2NCb3Ge085028; Tue, 23 Mar 2004 04:37:03 -0800 (PST) (envelope-from dwmalone@repoman.freebsd.org) Received: (from dwmalone@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i2NCb3vw085027; Tue, 23 Mar 2004 04:37:03 -0800 (PST) (envelope-from dwmalone) Message-Id: <200403231237.i2NCb3vw085027@repoman.freebsd.org> From: David Malone Date: Tue, 23 Mar 2004 04:37:02 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.bin/truss syscall.h syscalls.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Mar 2004 12:37:03 -0000 dwmalone 2004/03/23 04:37:02 PST FreeBSD src repository Modified files: usr.bin/truss syscall.h syscalls.c Log: Add support for decoding Timespec, Timeval, Itimerval, Pollfd, Fd_set and Sigaction structures. Use these for printing the arguments to sigaction(), nanosleep(), select(), poll(), gettimeofday(), clock_gettime(), recvfrom(), getitimer() and setitimer(). This is based on Dan's patch from the PR but I've hacked it for style and some other issues. While Dan has checked this patch, any goofs are probably my fault. (The PR also contains support for the dual return values of pipe(). These will follow once I've ported that support to platforms other than i386.) PR: 52190 Submitted by: Dan Nelson Revision Changes Path 1.13 +12 -2 src/usr.bin/truss/syscall.h 1.38 +167 -1 src/usr.bin/truss/syscalls.c