Plan 9 from Bell Labs’s /usr/web/sources/patch/applied/libmach-access.c-crossing/readme

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


The "read crosses page" case in mget() needs to adjust the buffer
pointer in addition to the file offset and the transfer count.

This bug was exposed by enabling spread()'s cache, which causes a
"page crossing" every 8k--otherwise it's not clear to me that they
actually happen, which explains why nobody noticed the mistake.

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].