misc0110 / Minimal-IOCTL-Kernel-Module

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Minimal IOCTL Kernel Module

A minimal kernel module with one simple ioctl call.

Usage

Build the sample application by running make. Build the kernel module by running make in the module/ directory and load it into the kernel using sudo insmod sample.ko. Run the sample application:

% ./example 
Val (before): 3
Val (after):  4

About


Languages

Language:C 91.7%Language:Makefile 8.3%