From owner-freebsd-stable Fri Nov 2 1:26: 1 2001 Delivered-To: freebsd-stable@freebsd.org Received: from sofia.fio.cz (sf-wall.fio.cz [195.250.140.9]) by hub.freebsd.org (Postfix) with ESMTP id 21C3137B406 for ; Fri, 2 Nov 2001 01:25:58 -0800 (PST) X-Envelope-From: vita@fio.cz Received: from vita.private.fio.cz (vita.private.fio.cz [10.0.4.41]) by sofia.fio.cz (8.11.6/8.11.1) with ESMTP id fA29Ptm94731 for ; Fri, 2 Nov 2001 10:25:55 +0100 (CET) (envelope-from vita@fio.cz) Message-ID: X-Mailer: XFMail 1.5.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Fri, 02 Nov 2001 10:26:03 +0100 (CET) Organization: FIO holding From: vita@fio.cz To: stable@freebsd.org Subject: truss - linux syscalls - bug Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Truss shows wrong return values of linux system calls in 4.4-RELEASE. Problem is in i386-linux.c in function i386_linux_syscall_exit. There is called print_syscall_ret(outfile, lsc.name, lsc.nargs, lsc.s_args, errorp, i); Last parameter should be something like errorp ? i : retval instead of just i. vita To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message