lkm-sandbox
lkm-sandbox copied to clipboard
Create a random quote device
Create a random quote device
Like MOTD (Message of the day) a device like /dev/quote
should randomized output one quote.
$ cat /dev/quote
Lorem ipsum dolor hic amet...
Concepts
- Basic I/O with a character device (rehearsal)
- Handling arrays of characters within C (rehearsal)
- Randomize data the kernel way (new)
- Access to external files from the kernel (new)
- Exchange between kernel- and userspace (rehearsal)
- Testing randomness (rehearsal)