lutoma / xelix

💻⚙ Xelix is a hobby Unix-like kernel with GNU userland for x86
https://xelix.org
GNU General Public License v3.0
61 stars 6 forks source link

syscalls with SCA_STRING arguments that cross page boundaries break #101

Open lutoma opened 3 years ago

lutoma commented 3 years ago

Currently for SCA_STRING, no length is passed in the syscall and the mapper just maps one page and hopes for the best. this breaks if the string crosses page boundaries.

should either: