[Bug 230160] linuxulator doesn't implement madvise(MADV_DONTNEED) and any MADV_ flags with values >= 8 correctly

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Aug 24 17:26:29 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230160

--- Comment #16 from commit-hook at FreeBSD.org ---
A commit references this bug:

Author: trasz
Date: Mon Aug 24 17:25:28 UTC 2020
New revision: 364715
URL: https://svnweb.freebsd.org/changeset/base/364715

Log:
  MFC r362440:

  Add linux_madvise(2) instead of having Linux apps call the native
  FreeBSD madvise(2) directly.  While some of the flag values match,
  most don't.

  PR:           kern/230160
  Sponsored by: The FreeBSD Foundation

Changes:
_U  stable/12/
  stable/12/sys/amd64/linux/linux_machdep.c
  stable/12/sys/amd64/linux/syscalls.master
  stable/12/sys/amd64/linux32/linux32_machdep.c
  stable/12/sys/amd64/linux32/syscalls.master
  stable/12/sys/arm64/linux/linux_machdep.c
  stable/12/sys/arm64/linux/syscalls.master
  stable/12/sys/compat/linux/linux_mmap.c
  stable/12/sys/compat/linux/linux_mmap.h
  stable/12/sys/i386/linux/linux_machdep.c
  stable/12/sys/i386/linux/syscalls.master
  stable/12/sys/sys/syscallsubr.h
  stable/12/sys/vm/vm_mmap.c

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-emulation mailing list