mirror of
https://github.com/drasko/codezero.git
synced 2026-01-12 10:53:16 +01:00
Uncovered a mmap() bug that came along this far. file_offset parameter of do_mmap() was assigned to the mapped vma as is, i.e. as a byte offset. This caused problems since most page fault and other internal code assumed this was a page frame number. This is now fixed. This came along unnoticed since all mmaps until now started at file offset 0.