lkm-sandbox icon indicating copy to clipboard operation
lkm-sandbox copied to clipboard

Create a random quote device

Open tpiekarski opened this issue 4 years ago • 0 comments

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)

tpiekarski avatar Mar 31 '20 06:03 tpiekarski