👨🔧 Character device driver (/dev) working as a FIFO pipe, created with a Linux Kernel module. As such, it's SMP-Safe due to the use of semaphores (working as condition variable and mutexes).
Usage: Compile, load the module, create the driver (mknod), use the pipe!
$ make
$ sudo insmod fifodev.ko
$ sudo mknod -m 666 <pathname_char_file> c <major> <minor>
$ # Enjoy your brand-new pipe! #
...
The module was developed for Debian, but can be easily used in Android. You just need to use the Makefile for re-compiling. Please notice that the Makefile employs a compiled Android-x86 kernel oreo version
This project is licensed under the GNU-GPL License - see the LICENSE.md file for details