Statistical Study of High-Frequency Attack Surfaces and Vulnerability Types in the Linux Kernel

Statistical Study of High-Frequency Attack Surfaces and Vulnerability Types in the Linux Kernel

Collected and organized all Linux kernel vulnerabilities from January 1, 2022, to February 18, 2023, with data sourced from NVD, totaling 314 vulnerabilities. The analysis of the Linux kernel attack surface is based on CWE types and the subsystems where the vulnerabilities are located. CWE Statistics According to publicly available CVE information, a total of … Read more

How to Control the Future: Allwinner F1C100s (Lichee Pi) Leads You into the Embedded World

How to Control the Future: Allwinner F1C100s (Lichee Pi) Leads You into the Embedded World

This article will cover the following topics: Introduction to F1C100s, U-Boot, Linux kernel customization, and application development using C or C++. We will also provide two examples: a simple example controlling an LED blinking and another creating a GUI program with a button. F1C100s Performance Parameters The F1C100s is a low-cost, low-power 32-bit processor commonly … Read more

Treating Bugs as Features is Absurd! Linus Torvalds Criticizes Case-Insensitive Filesystems: A Major Mistake

Treating Bugs as Features is Absurd! Linus Torvalds Criticizes Case-Insensitive Filesystems: A Major Mistake

In the open-source community, Linus Torvalds’ outbursts always seem to trigger a “small earthquake”.Recently, the father of Linux has once again fired back— this time, targeting a long-standing issue in filesystem development: case insensitivity (case-insensitive, meaning it does not distinguish between uppercase and lowercase characters). He not only criticized this design as a “huge mistake,” … Read more

Analyzing the Elegant C Language Functions dev_get_drvdata and dev_set_drvdata in the Linux Kernel

Analyzing the Elegant C Language Functions dev_get_drvdata and dev_set_drvdata in the Linux Kernel

Hello everyone, I am the Intelligence Guy~ In Linux driver development, have you ever encountered the problem of how to save private data for different device instances? For example, a USB camera needs to store resolution parameters, and a GPIO device needs to record interrupt handler functions. Directly modifying the <span>struct device</span> structure? This would … Read more

Linux Power Management (4) – Power Management Interface

Linux Power Management (4) - Power Management Interface

Original:https://mp.weixin.qq.com/s/JX5PS7Cxs9mRzzl96cwzRg 1. Introduction A significant portion of Linux power management deals with functionalities such as Hibernate, Suspend, and Runtime PM. These functionalities are based on a similar logic, known as the “Power Management Interface.” The code for this interface is implemented in files such as “include/linux/pm.h” and “drivers/base/power/main.c.” Its main functions are: to define Device … Read more

The Technical Insights of Embedded System Boot Loader: A Complete Understanding of Boot Loader

The Technical Insights of Embedded System Boot Loader: A Complete Understanding of Boot Loader

An embedded Linux system can typically be divided into four layers from a software perspective:1. Boot Loader.It includes the boot code (optional) embedded in the firmware and the Boot Loader itself.2. Linux Kernel.A customized kernel specific to the embedded board and the kernel’s boot parameters.3. File System.Including the root file system and file systems built … Read more

Technical Insights: Boot Loader in Embedded Systems

Technical Insights: Boot Loader in Embedded Systems

Source: MCU Fun ID: mcu168 An embedded Linux system can typically be divided into four layers from a software perspective: 1. Boot Loader. This includes the boot code embedded in firmware (optional) and the Boot Loader itself. 2. Linux Kernel. A customized kernel specific to the embedded board along with kernel boot parameters. 3. File … Read more

Unveiling the Mysteries of Embedded System BootLoaders

Unveiling the Mysteries of Embedded System BootLoaders

An embedded Linux system can typically be divided into four layers from a software perspective:1. Boot Loader. This includes the boot code (optional) embedded in firmware and the Boot Loader itself.2. Linux Kernel. A customized kernel specific to the embedded board along with kernel boot parameters.3. File System. This includes the root file system and … Read more

Setting Up a QEMU Linux Kernel (5.10.209) Development Environment

Setting Up a QEMU Linux Kernel (5.10.209) Development Environment

Version Information Host Machine: <span>ubuntu 20.04.6 LTS (Focal Fossa)</span> Virtual Machine: <span>ubuntu 20.04.6 LTS (Focal Fossa)</span> The steps for installing the host machine are omitted, as they are no different from installing a virtual machine in <span>vmware</span>. It is important to ensure that <span>Intel VT-x</span> is enabled. If the virtual machine reports <span>This platform does … Read more