Commit 46fb605d authored by Committed by ROOLBrowse files
Protect the dynamic area
The PipeFS dynamic area was being created with AP 0, granting usermode full read/write/execute access. Attempt to restrict it to just the minimum required permissions - privileged read/write for PipeFS access, and usermode read for TaskWindow (or other potential UpCall_Sleep handlers) checking pollwords. This isn't an ideal situation, both because we're exposing the contents to everyone, and because systems which are using the long descriptor page table format will be forced to use the kernel's AP1 emulation to provide usermode read access, adding unnecessary overhead to pollword checks. Moving the pollwords to the RMA could be one solution to this (although it will re-introducing the possibility for user code to scribble on them) Version 0.25. Tagged as 'PipeFS-0_25'
Showing with 30 additions and 23 deletions