Skip to content

Latest commit

 

History

History

solaris

README.md

Kernel Module Examples — Solaris

Solaris Loadable Kernel Module (LKM)

Bahasa: Bahasa Indonesia (default) | English


Sebelum Mulai

Daftar Contoh

Basics

Konsep dasar LKM, tidak melibatkan device.

Contoh Deskripsi
0.skeleton Kerangka kosong LKM sesuai standard terkini
1.hello Module minimal: cetak pesan saat load/unload
2.memory-alloc Alokasi memory di kernel-space (kmem_alloc, kmem_free)
3.hook-syscall Hook syscall read

Setiap direktori contoh berisi code.c dengan instruksi build/load/unload di header comment, serta Makefile yang membungkus urutan perintah gcc/ld manual — cukup jalankan make (lihat _preparation.md untuk detail toolchain).