https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243155
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: [email protected]
Reporter: [email protected]
% 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
...
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"