From owner-freebsd-bugs Fri Nov 16 4:40: 7 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 6317737B418 for ; Fri, 16 Nov 2001 04:40:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id fAGCe1h37885; Fri, 16 Nov 2001 04:40:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 67CCE37B41A for ; Fri, 16 Nov 2001 04:32:53 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id fAGCWoZ37057; Fri, 16 Nov 2001 04:32:50 -0800 (PST) (envelope-from nobody) Message-Id: <200111161232.fAGCWoZ37057@freefall.freebsd.org> Date: Fri, 16 Nov 2001 04:32:50 -0800 (PST) From: Vitezslav Novy To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: bin/32036: truss shows wrong return values of linux syscalls Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 32036 >Category: bin >Synopsis: truss shows wrong return values of linux syscalls >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Nov 16 04:40:00 PST 2001 >Closed-Date: >Last-Modified: >Originator: Vitezslav Novy >Release: 4.4-RELEASE >Organization: Fio >Environment: FreeBSD vita.private.fio.cz 4.4-RELEASE FreeBSD 4.4-RELEASE #25: Mon Oct 29 14:23:07 CET 2001 root@vita.private.fio.cz:/usr/src/sys/compile/VITA i386 >Description: truss shows wrong return values of succesfull linux syscalls. Error return codes are OK. >How-To-Repeat: >Fix: *** i386-linux.c Fri Nov 16 13:23:12 2001 --- i386-linux.c Fri Nov 16 13:25:27 2001 *************** *** 244,248 **** break; } ! print_syscall_ret(outfile, lsc.name, lsc.nargs, lsc.s_args, errorp, i); clear_lsc(); return; --- 244,248 ---- break; } ! print_syscall_ret(outfile, lsc.name, lsc.nargs, lsc.s_args, errorp, errorp?i:retval); clear_lsc(); return; >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message