Skip to content

midwestcoder2020/Linux_Kernel_Modules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Linux Kernel Modules

This repository contains a collection of custom Linux kernel modules. Each module is designed to extend or modify the functionality of the Linux kernel in various ways. These modules serve as examples and can be used as a starting point for creating your own modules.

Table of Contents

Introduction

Kernel modules are pieces of code that can be dynamically loaded into the Linux kernel to add or extend functionality without requiring a kernel reboot. This repository includes modules that demonstrate various features and use cases

Modules

  • memmod.c: A driver that monitors ram usage and sends an alert to all users via the terminal
  • memproc.ko: A driver when provides the total and free ram users via the /proc/ interface.

Getting Started

Prerequisites

To build and use these kernel modules, you will need the following:

  • A Linux system with kernel headers installed (specific to your kernel version).
  • The make utility and a C compiler (gcc).

You can install the necessary tools with:

sudo apt-get install build-essential linux-headers-$(uname -r)

About

Collection of Linux Kernel Modules

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages