Date: Fri, 16 Nov 2001 04:32:50 -0800 (PST) From: Vitezslav Novy <vita@fio.cz> To: freebsd-gnats-submit@FreeBSD.org Subject: bin/32036: truss shows wrong return values of linux syscalls Message-ID: <200111161232.fAGCWoZ37057@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111161232.fAGCWoZ37057>