[about] :: [index] :: [github]

Kernel Hacking - System Calls(3/3)

In the third part of this guide we will explain what system calls actually are and how they work under the Linux kernel. Furthermore, we will also try to write a simple syscall that will greet the user. Do note that this article is part of a series of guides on kernel hacking for Linux, you can find the rest of the guide here: Part one: Introduction to the Linux kernel architecture; Part two: Building a device driver from scratch; Part three(this one): Introduction to syscalls, how to create a new syscall; Be sure to read the previous two before starting with this one.
Read more →

Kernel Hacking - Write a Cryptographic Module(2/3)

Welcome back to the second part of this series of tutorial on Linux kernel hacking. Below, you will find the links to the other parts of the series. If you have not read the first part yet, make sure to start from there. Part one: Introduction to the Linux kernel architecture; Part two(this one): Building a device driver from scratch; Part three: Introduction to syscalls, how to create a new syscall; In this article, we will try to extend our knowledge about Linux programming by building a kernel module that actually does something.
Read more →

Kernel Hacking - Introduction To The Linux Kernel(1/3)

This guide will walk you through a brief introduction on how to get started with kernel hacking. The guide is split into three parts, each one covering one of the following topic: Part one(this one): Introduction to the Linux kernel architecture; Part two: Building a device driver from scratch; Part three: Introduction to syscalls, how to create a new syscall; While this guide aims to provide a beginner-friendly resource to get started on kernel hacking, I take for granted some prior knowledge:
Read more →

Install Arch Linux w/ LVM + LUKS + Systemd-boot

In this guide we will see how to install Arch Linux on UEFI AMD64 system with LVM and LUKS. Please, do not use it as a replacement of the arch wiki, instructions here get outdated pretty fast and while they were correct at the time of writing, I cannot guarantee that they will stay correct in a year or two. Download ISO Image First, we need to download the live ISO of archlinux from official website, then flash to a USB drive with:
Read more →

Create an embedded Linux system using Buildroot

This tutorial will walk you through the process of creating a small Linux distribution for ARM-based embedded devices(e.g. Raspberry Pi) using Buildroot. At the end of the article you will be able to run your own Linux system into a Raspberry Pi 3/4/ZeroW. What’s Buildroot? Buildroot is a set of tools that will help you to easily generate an embedded Linux distribution for your IoT device. This project is driven by the community, and it’s fully open source.
Read more →