The Process On modern operating systems,processes provide two virtualizations:a virtualized processor and virtual memory The Process Family Tree iterates over the entire task list.On each iteration,task points to the next task in the list: struct tas…
1 Pages Page的概念来源为处理器Processor的部件MMU(Memory Management Unit),MMU通过设置好的页表(通过设置CR3寄存器,指向页目录所在的物理内存)对内存进行管理,管理操作包括: a) 建立线性内存地址与物理内存地址的对应关系,即pa()和va()函数: b) 管理哪些内存页驻存(Resident)于物理内存中,而哪些内存被交换到Swap文件中: c) 哪些内存页被映射到哪个进程的虚拟地址空间: d) 管理哪些内存页存储磁盘上(或者文件系统中)文件的…
Linux kernel Security: I. DAC: Discretionary Access Control, the core security model of UNIX. II. POSIX ACL: Extended DAC III. Namespaces Derived from Plan 9. Process has its own view of resources, for example filesystem. IV. Network Security: Netfil…
http://en.wikipedia.org/wiki/Ingo_Molnár http://zh.wikipedia.org/wiki/英格·蒙內 Ingo Molnár Ingo Molnár, currently employed by Red Hat, is a Hungarian Linux hacker. He is best known for his contributions to the operating system in terms of security and p…
http://en.wikipedia.org/wiki/Linux_kernel Development model The current development model of the Linux kernel is such that Linus Torvalds makes the releases of new versions, also called the "vanilla" or "mainline" kernels, meaning that…
How to compile and install Linux Kernel 5.1.2 from source code Compiling a custom kernel has its advantages and disadvantages. However, new Linux user/admin find it difficult to compile Linux kernel. Compiling kernel needs to understand few things an…
In this blog post we'll go over a Linux kernel privilege escalation vulnerability I discovered which enables arbitrary code execution within the kernel. The vulnerability affected all devices based on Qualcomm chipsets (that is, based on the "msm&quo…