syswonder / ruxos

Rust Unikernel OS
https://ruxos.syswonder.org
Other
52 stars 17 forks source link

fix bugs in mremap and 9p's rename #125

Closed ken4647 closed 3 months ago

ken4647 commented 3 months ago
  1. Remove the synchronization operation of mremap when shrinking, which may cause the file to expand #112.
  2. Change the alignment logic of mmap to allow non-4K aligned file mappings, which may also cause the file to expand.
  3. fix a problem in 9pfs's operation of rename, which is an obvious mistake and may cause failure for rename in different format of path.