Skip to content

It is a simple loadable kernel module which can handle multi-threading. I made it using a basic structure of a loadable kernel module in linux.

Notifications You must be signed in to change notification settings

Prasoonjha1/LKM-Linux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LKM-Linux

It is a simple loadable kernel module which can handle multi-threading. Made it with references from already provided basic kernel module. Main changes that are added are mutex locks and handling I/O. Also made a program for testing of the kernelModule.

First Run make command inside the terminal. image

After it look for .ko file. image

Run insmod kernelDriver.ko for insertion of kernel module inside kernel.

Use tail -f /var/log/kern.log command for monitoring the insertion of kenel module.

Now run Userspace.c.

About

It is a simple loadable kernel module which can handle multi-threading. I made it using a basic structure of a loadable kernel module in linux.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published