Feat: pointer validation checks string across multiple pages and handle kernel page faults

This commit is contained in:
EDiasAlberto
2024-11-29 23:49:49 +00:00
parent 5f40d83e66
commit 5c661c2e24
4 changed files with 37 additions and 27 deletions

View File

@@ -143,9 +143,7 @@ struct thread
struct hash open_files; /* Hash Table of FD -> Struct File. */
#endif
#ifdef VM
void *curr_esp;
#endif
/* Owned by thread.c. */
unsigned magic; /* Detects stack overflow. */