Date: Tue, 07 Jan 2020 10:15:04 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 243155] Linuxulator: broken fadvise64 for 32-bit applications on amd64 Message-ID: <bug-243155-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243155 Bug ID: 243155 Summary: Linuxulator: broken fadvise64 for 32-bit applications on amd64 Product: Base System Version: 12.1-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: iwtcex@gmail.com % cat fadvice_bug.c #define _GNU_SOURCE #include <fcntl.h> int main() { posix_fadvise(1, 2, 3, 4); return 0; } % /compat/linux/bin/gcc -m64 fadvice_bug.c -o fadvice_bug64 % truss ./fadvice_bug64 ... linux_fadvise64(0x1,0x2,0x3,0x4) ERR#-19 'Operation not supported by device' # ok ... % /compat/linux/bin/gcc -m32 fadvice_bug.c -o fadvice_bug32 % truss ./fadvice_bug32 ... linux_fadvise64(0x1,0x2,0x0,0x3) ERR#-19 'Operation not supported by device' # hmm ... --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-243155-227>