kchat
kchat copied to clipboard
Kernel based chat system.
Similar to the `private_data` field of `struct file`, it appears that there is an `i_private` field of `struct inode` that is just waiting to be used to hold our `struct...
Writers must acquire the `client_list_lock` in order to check on the offsets of each reader, so they know where they may safely write. Readers do not acquire the `client_list_lock` when...
If a user inputs a single line message of more than 2048 bytes on `kchat_client`, the client will try to write that message into the chat server. However, the chat...