New kernel post! This time: /proc/*/mem and how it writes to unwritable mem.
Key takeaway: By walking page tables in software, the kernel can access userspace mem without directly dereferencing pointers it gets from userspace. (No WP/SMAP bits involved). https://t.co/U9IOeyHIc5
week 124, streaming kernel dev right now
discovered a dead end with my stack guard pages approach last stream, will regroup and decide on a final strategy for handling them this stream
see ya 👋
https://t.co/2LuetF8zee
i'm going viral on some other part of this site lol
ty @gxjo_dev for posting and @kneeanderthul for crediting me
AMA about building an OS in c++ for 123 weeks in a row, all live-streamed
week 123, streaming kernel dev right now
topic: stack guards + smart pointers
testing the stack guard support we developed last week, and also improving and iterating on the pool smart pointers
see ya 👋
https://t.co/gN11RHAbu3
week 122, streaming kernel dev right now
topic: stack guard pages
continuing with the custom allocator for task stacks, plus some smart pointer refactors
https://t.co/An9newzeZO