Mentorship Session: Writing Linux Kernel Modules in Rust
Vložit
- čas přidán 12. 07. 2022
- Mentor: Wedson Almeida Filho, Software Engineer, Google
This session will be a hands-on walkthrough of how to write a module for the Linux kernel using the Rust language.
We'll begin with an empty file and will methodically add functionality similar to that of the scull driver from the Linux Device Drivers book. At each step, we will run a test VM to show how the module behaves. We will also discuss how the Rust code compares to a C version, and highlight how it improves productivity and security, for example, by preventing mistakes at compile time.
Getting ready for the webinar:
Viewers are welcome and encouraged to follow along and replicate the steps using their own workstations. A qemu virtual machine image with the environment set up can be downloaded here. Please download before the webinar begins: drive.google.c...
No prerequisite Rust knowledge is needed to follow the session.