Let's code a Linux Driver - 35: private data in struct file

Опубликовано: 16 Октябрь 2024
на канале: Johannes 4GNU_Linux
1,843
52

#GNU #Linux #Tutorial #Driver #DriverDevelopment

Let's leave userspace and head towards Kernelspace!

In this series of videos I will show you how to write your own Linux Driver. This time I will show you how to use the pointer private_data in the struct file for storing file descriptor specific data for a character device file.

You want to support my work? You can buy me a coffee here: https://www.buymeacoffee.com/johannes...

If you want to contact me, you can find my E-Mail on www.gnu-linux.rocks

Here is the link to my git-repo:

https://github.com/Johannes4Linux/Lin...


You want to learn more? Check out my playlist:
   • Let's code a Linux Driver - 0: Introd...  

Resources for this video:
https://lwn.net/Kernel/LDD3/