Skip to content

10 cdev hometask#169

Open
marynamalakhova wants to merge 4 commits intoKernel-GL-HRK:Maryna.Malakhovafrom
marynamalakhova:10_cdev
Open

10 cdev hometask#169
marynamalakhova wants to merge 4 commits intoKernel-GL-HRK:Maryna.Malakhovafrom
marynamalakhova:10_cdev

Conversation

@marynamalakhova
Copy link

Implement users chat via character device as a FIFO buffer. Buffer's size can be changed due to modules' parameter. Add user interfaces to clean up, debug and view statistics

Implement a character device driver for text messaging between users.
Implement a character device driver with the following requirements:
1kB buffer default size;
buffer increase as a module parameter.
Buffer is fifo.
Add the interfaces into the driver:
procfs for displaying used buffer volume and buffer size

Signed-off-by: Maryna Malakhova <maryna.malakhova@globallogic.com>
Add the interfaces into the driver:
sysfs for buffer clean up and debugging

Signed-off-by: Maryna Malakhova <maryna.malakhova@globallogic.com>
Add message check in order not to allow non-ASCII characters

Signed-off-by: Maryna Malakhova <maryna.malakhova@globallogic.com>
Add shell script to test char device driver and its` log

Signed-off-by: Maryna Malakhova <maryna.malakhova@globallogic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Ready for review Ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant