












Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!













Two mechanisms for ‘extensibility’:
$ /sbin/insmod myLKM.ko
$ /sbin/rmmod myLKM
$ /sbin/lsmod
// this gets called during module installation
// this gets called during module removal
ifneq ($(KERNELRELEASE),) obj-m := mymod .o else KERNELDIR := /lib/modules/$(shell uname –r)/build PWD := $(shell pwd) default: $(MAKE) -C $(KERNELDIR) M=$(PWD) modules endif