Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Nov 2001 10:26:03 +0100 (CET)
From:      vita@fio.cz
To:        stable@freebsd.org
Subject:   truss -  linux syscalls -  bug
Message-ID:  <XFMail.20011102102603.vita@fio.cz>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20011102102603.vita>