07 2014 档案
摘要:/*** CVE-2014-4014 Linux Kernel Local Privilege Escalation PoC** Vitaly Nikolenko* http://hashcrack.org** Usage: ./poc [file_path]* * where file_path ...
阅读全文
摘要:#include #include #include #include #include #include MODULE_LICENSE("GPL");struct desc_ptr idt;int init_module(void){ asm volatile ("sidt %0" ...
阅读全文
摘要:在Linux Kernel中有些constant需要被C code 跟 assembler共同使用在用constant的時候,不能單方面給0x1000UL因為assembler無法看這東西。但是C compiler卻可以。所以使用這個gcc feature.讓C compiler看到的constan...
阅读全文
摘要:Kernel Page Global Directory(PGD)of User process created在早期版本:在fork一个进程的时候,必须建立进程自己的内核页目录项(内核页目录项要与用户空间的页目录放在同一个物理地址连续的页面上,所以不能共享,但所有进程的内核页表与进程0共享)3G用...
阅读全文
摘要:Linux中thread (light-weighted process) 跟process在實作上幾乎一樣。最大的差異來自於,thread 會分享 virtual memory address space.a. 從kernel角度看兩者沒差別,在user看來process是least shared...
阅读全文
摘要:git clonehttps://github.com/linux-test-project/ltp.gitapt-get install automakemake autotools./configuremake allmake SKIP_IDCHECK=1 install $ cd /opt/...
阅读全文
摘要:An “Oops” is what the kernel throws at us when it finds something faulty, or an exception, in the kernel code. It’s somewhat like the segfaults of use...
阅读全文

浙公网安备 33010602011771号