Skip to content

Character device driver working as FIFO pipe, created with a Linux Kernel module (SMP-Safe). Works on Android's kernel.

License

Notifications You must be signed in to change notification settings

Zildj1an/FIFO-Driver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FIFO-Char-Driver GPLv3 license

Language: Español | English

Main Idea

👨‍🔧 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! #

...

Loading module into Android's Kernel

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

License

This project is licensed under the GNU-GPL License - see the LICENSE.md file for details

About

Character device driver working as FIFO pipe, created with a Linux Kernel module (SMP-Safe). Works on Android's kernel.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published