mirror of
https://github.com/ebrandi/FDD-book.git
synced 2026-12-06 08:33:30 +00:00
Fixed markdown issue that was generating error in pdf conversion, i missed some lines in the previous commit
This commit is contained in:
parent
8388fe50dd
commit
c797046ae2
1 changed files with 6 additions and 8 deletions
|
|
@ -6566,10 +6566,8 @@ These labs have shown you concretely what we meant by "kernel C is a dialect of
|
|||
|
||||
- **User-space C**: "Allocate memory, use it, and hopefully remember to free it"
|
||||
- **Kernel C**: "Allocate memory with explicit type tracking, validate all inputs, handle allocation failure gracefully, and guarantee cleanup on every code path"
|
||||
|
||||
- **User-space C**: "Print error messages to stderr"
|
||||
- **Kernel C**: "Log with appropriate context, consider interrupt safety, avoid spamming the kernel log, and include diagnostic information for system administrators"
|
||||
|
||||
- **User-space C**: "Pass pointers freely between functions"
|
||||
- **Kernel C**: "Use copyin/copyout for user space, validate all pointers, and never trust data that crosses protection boundaries"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue