|
||
---|---|---|
.gitignore | ||
Makefile | ||
README.md | ||
meow.c | ||
meow.h |
README.md
/dev/meow
a silly little kernel module that creates a character device that just endlessly writes 'meow' :3c
$ cat /dev/meow | head -c 50
meow meow meow meow meow meow meow meow meow meow
installation
- make sure linux headers are installed, if not then install them lmao:
sudo apt install linux-headers-$(uname -r)
for debian/ubuntusudo pacman -S linux-headers
for archlinux- google for any other distro
make
sudo insmod meow.ko
the module won't load automatically after reboot, idk how to setup modprobe stuff properly
note
i suck at C and kernel development, so PRs with refactors are welcome!
license
gpl 3 (see the end of meow.c
)