CHANGELOG:
- Utilized kfifo for the circular buffer.
- created a character device
/dev/ankit - change data structure of
struct data->datato static char array with size of 128 bytes, to make it less error prone and production use. - add mutex locks for handling concurrency.
cd kernel_space/
make
sudo insmod ioctl_kfifo.ko
cd user_space/
gcc -o configurator configurator.c
gcc -o filler filler.c
gcc -o reader reader.c
sudo -s
./configurator
./filler
./reader
