Linux kernel read / write file

Linux kernel read / write file Read and write file data in the driver to be debugged. For example, when the driver needs to record more logs, you can write the information printed by printk() function to the file for subsequent analysis. There is no standard library available for operating files in the kernel. Some kernel functions need to be ...

Posted by kjelle392 on Wed, 22 Dec 2021 22:34:10 +0100

Introduction to kernel pwn ciscn2017_babydrive UAF

The first time to start the kernel problem depends on the reproduction of fmyy master's blog. After the reproduction, I have a general understanding of the use of uaf in the kernel. Problem solving steps: 1. Write a blog with a short talk. The topic gives us a compressed package and decompresses it. It is found that there is no vmlinux. Therefo ...

Posted by vimukthi on Sat, 18 Dec 2021 17:00:39 +0100

Tools | common MySQL kernel debugging skills

Author: Ke Yuchang consultant Software EngineerCurrently engaged in container R & D of RadonDB MySQL, graduated from Huazhong University of science and technology, and has many years of experience in database kernel development.Mastering the reading and debugging ability of MySQL kernel source code is not only the daily work of database R & ...

Posted by imtaqi on Fri, 17 Dec 2021 14:56:05 +0100

Linux driver development | kernel timer

Linux kernel timer 1. Kernel time management Many functions in Linux kernel need time management, such as periodic scheduler, delay program and timer. The hardware timer provides the clock source. The frequency of the clock source can be set. After setting, the timing interrupt will be generated periodically. The system uses the timing interr ...

Posted by Flames on Mon, 01 Nov 2021 04:19:56 +0100

QEMU runs armv8 platform

Running armv8 platform with qumu Because the work involves the bsp part of the mobile phone, we will systematically learn the contents of uboot and kernel in the future. This chapter refers to the linux kernel of running bar Bloggers use virtual machines for learning. The system is Ubuntu 16.04 Tools and code download Install the f ...

Posted by q1234ask on Mon, 06 Sep 2021 04:52:57 +0200