[Bug 256199] truss: lseek() decoded incorrectly on armv7
Date: Thu, 27 May 2021 15:14:32 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256199
Bug ID: 256199
Summary: truss: lseek() decoded incorrectly on armv7
Product: Base System
Version: 13.0-STABLE
Hardware: arm
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: bugs@FreeBSD.org
Reporter: fuz@fuz.su
Running a binary that does these two calls:
lseek(fd, 5, SEEK_SET);
pos = lseek(fd, 0, SEEK_HOLE);
truss reports:
lseek(3,0x500000003,SEEK_SET) = 5 (0x5)
lseek(3,0x0,SEEK_SET) = 10 (0xa)
which is clearly wrong. Isn't lseek one of these calls that have a shuffled
argument order due to 64 bit arguments? Perhaps the decoding tables in truss
need to be fixed to account for this.
--
You are receiving this mail because:
You are the assignee for the bug.