Solaris Loadable Kernel Module (LKM)
Bahasa: Bahasa Indonesia (default) | English
- Pengenalan LKM — konsep dasar LKM, tipe module, symbol kernel.
- Persiapan Build Environment — toolchain manual (
gcc/ld) yang dibutuhkan sebelum compile. - Perintah Penting — cheat-sheet operasi module (
modload,modunload,modinfo, dst).
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).