Skip to content

Kernel level miscellaneous character device to exchange information between user-level processes. The device maintains a thread-safe FIFO queue containing a configurable number of data blocks.

Notifications You must be signed in to change notification settings

9pingg/Character-Device

Repository files navigation

Character Device

  • Developed a kernel-level miscellaneous character device using Linux kernel functions such as miscdevice, semaphore, kmalloc, copy_to_user and copy_from_user. The device utilizes a thread-safe FIFO queue to store a configurable number of data blocks, allowing for efficient and safe data transfer. Implemented custom read and write system calls using vfs_read and vfs_write functions along with filp_open/filp_close to manage the file operations. Utilized the open and release functions to handle the number of open devices.

About

Kernel level miscellaneous character device to exchange information between user-level processes. The device maintains a thread-safe FIFO queue containing a configurable number of data blocks.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages