All Posts
Traversing a VMA red-black tree in Linux
void dfs(struct rb_node *node) { struct vm_area_struct *vma; vma = rb_entry(node, struct vm_area_struct, vm_rb); trace_printk("VMA: [0x%px - 0x%px]", (void *)vma->vm_start, (void *)vma->vm_end); if (node->rb_left) dfs(node->rb_left); if (node->rb_right)...
“parent” vs. “real_parent” in struct task_struct
How (not) to use checkpatch.pl with Python 2
Cross-compiling an m68k v5.9 Linux Kernel on x86-64 Ubuntu 20.04
CSAW CTF Final Round 2015: StringIPC write-up
0CTF 2018 Finals: Baby Kernel write-up
Really Awesome CTF 2020: Puffer Overflow write-up
This is basically a Python 3.8 shellcoding challenge (650pt). Challenge instance ready at [raw]88.198.219.20:24155[/raw].We've found an exploitable network service. Exploit it! For your convenience, the source has been provided....
HITCON CTF 2016 Quals: House of Orange write-up
Pwn2Win CTF 2020: At Your Command write-up
m0leCon CTF 2020 Teaser: BABYK write-up
I/O APIC: SMP IRQ affinity
m0leCon CTF 2020 Teaser: BLACKY-ECHO write-up
DEF CON CTF Qualifier 2020: introool write-up
MIT 6.828: Operating System Engineering (2018)
6.828/2018 Lab 6: Network Driver
6.828/2018 Lab 5: File system, Spawn and Shell
IJCTF 2020: babyheap write-up
6.828/2018 Homework: xv6 log
6.828/2018 Homework: Bigger files for xv6
WPICTF 2020: dont@me write-up
WPICTF 2020: dorsia4 write-up
6.828/2018 Lab 4: Preemptive Multitasking
6.828/2018 Homework: Barriers
6.828/2018 Homework: User-level Threads
If a concurrent thread causes the condition to be true, that thread must either hold the lock on the condition before the sleeping thread acquired it, or after the sleeping thread released it in sleep. If before, the sleeping thread must have seen the new condition...
6.828/2018 Homework: Threads and Locking
6.828/2018 Lab 3: User Environments
6.828/2018 Homework: xv6 CPU alarm
Nosutarujī, Fujiko F. Fujio
6.828/2018 Lab 2: Memory Management
6.828/2018 Lab 1: Booting a PC
PC Assembly Language: Chapter 1, 2
In my last post, I published my solution for the first exercise in the xv6 book for 6.828's 2019 version. Unfortunately, I somehow found it hard getting familiar with RISC-V instructions and, at the same time, trying to understand all these O/S concepts. Moreover,...