]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFppc:
authorcognet <cognet@FreeBSD.org>
Tue, 31 Jul 2007 17:09:05 +0000 (17:09 +0000)
committercognet <cognet@FreeBSD.org>
Tue, 31 Jul 2007 17:09:05 +0000 (17:09 +0000)
commit99641742c6c190c323b98343e5a497998807e7bf
tree42cd7c6664cca751be6820853729ae3c6662c268
parentce4c62aa34c29ce4db2699aaf8a9883661fc0781
MFppc:
revision 1.66
date: 2007/07/31 06:23:26;  author: marcel;  state: Exp;  lines: +2 -2
Fix backward compatibility of the "old" (i.e. FreeBSD6) lseek
syscall. It was broken when a new lseek syscall was introduced.
The problem is that we need to swap the 32-bit td_retval values
for the __syscall indirect syscall when the actual syscall has
a 32-bit return value. Hence, we need to exclude lseek(2). And
this means the "old" lseek(2) as well -- which we didn't.

Based on a patch from: grehan@

Approved by: re (blanket)
sys/arm/arm/trap.c